qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] pckbd: use qemu_irq to signal fake events


From: Andreas Färber
Subject: Re: [Qemu-devel] [PATCH] pckbd: use qemu_irq to signal fake events
Date: Sat, 19 Feb 2011 19:11:36 +0100

Am 19.02.2011 um 17:25 schrieb Blue Swirl:

Signed-off-by: Blue Swirl <address@hidden>
---

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



reply via email to

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