Am 19.02.2011 um 17:25 schrieb Blue Swirl:
Signed-off-by: Blue Swirl <blauwir...@gmail.com>
---
This does not get rid of the pointer property, because ISA bus doesn't
provide any method to connect multiple IRQs, unlike SysBus.
Another wart is that vmmouse uses void pointer for the IRQ, because
qemu_irq is not supported by qdev properties.
So maybe instead of more and more workarounds, we should add some
generic qemu_irq qdev support?
Even in SysBus it wasn't really comfortable to work with IRQs, needing
to first init, then mess with irqp[] directly to get the desired setup
for PReP PCI. Just putting qemu_irq into the device-specific state
instead is rather common unfortunately.
Andreas