On 09/18/2011 03:58 PM, Avi Kivity wrote:
In some cases we have a circular dependency involving irqs - the irq
controller depends on a bus, which in turn depends on the irq controller.
Add qemu_irq_proxy() which acts as a passthrough, except that the target
irq may be set later on.

Signed-off-by: Avi Kivity<a...@redhat.com>
---

Turns out the circular dependency i8259->isa->pci->i8259 is widespread,
so introduce a general means of fixing it up.  I'll update the patchset to
make use of it everywhere it occurs.

In fact the other cases were solved without qemu_irq_proxy(), but I think qemu_irq_proxy() is nicer than the previous patch, so I'll keep it if no one objects.

--
error compiling committee.c: too many arguments to function


Reply via email to