This is a WIP patch set trying to resolve https://gitlab.com/qemu-project/qemu/-/issues/811
which will totally replace 'qemu_irq_split' with use QOM object 'TYPE_SPLIT_IRQ' device. I just want to make sure I'm on the right way, so only 'realview' module is modified. Changes since v1: 1. Remove unnecessary headers realview.c 2. Rewrite the splitter helper function. I agree that previous valist implementation is too complicated, but keeping it will make code more readable. Or any other reason we need to write the code directly into the init function? If that is true, I will change that 3. Use 'qdev_*' rather than 'Object' directly Thanks for reviewing. Zongyuan Li (1): hw/arm/realview: replace 'qemu_split_irq' with 'TYPE_SPLIT_IRQ' hw/arm/realview.c | 41 ++++++++++++++++++++++++++++++++--------- 1 file changed, 32 insertions(+), 9 deletions(-) -- 2.34.0