[Top][All Lists]

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

Re: [Qemu-devel] [PATCH] irq: introduce qemu_irq_proxy()

From: Avi Kivity
Subject: Re: [Qemu-devel] [PATCH] irq: introduce qemu_irq_proxy()
Date: Sun, 18 Sep 2011 16:37:05 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:6.0.2) Gecko/20110906 Thunderbird/6.0.2

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<address@hidden>

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

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