qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[RFC PATCH v2 0/1] Replace 'qemu_irq_split' with 'TYPE_SPLIT_IRQ'


From: Zongyuan Li
Subject: [RFC PATCH v2 0/1] Replace 'qemu_irq_split' with 'TYPE_SPLIT_IRQ'
Date: Mon, 21 Mar 2022 14:44:34 +0800

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]