qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] qemu_reserve_isa_irq()


From: Jes Sorensen
Subject: Re: [Qemu-devel] [PATCH] qemu_reserve_isa_irq()
Date: Tue, 11 Aug 2009 16:45:41 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1b3pre) Gecko/20090513 Fedora/3.0-2.3.beta2.fc11 Thunderbird/3.0b2

On 08/11/2009 04:08 PM, Gerd Hoffmann wrote:
On 08/11/09 13:32, Jes Sorensen wrote:
In principle that would be good, the problem is just that the most of
the code still brute force messages with the i8259 array directly,
including the new ISA code. It really needs to be fixed to reference
the ISA IRQ number and not the i8259 array directly :-(

How about making isa-bus.c own the i8259 array then? We could pass it to
isa_bus_new. Then switch over to reference isa irqs by number. That
allows isa-bus to keep track of the allocations. Maybe it makes sense to
kill the sysbus-style isa_{init,connect}_irq split and have a irq bus
property then.

Hi Gerd,

I would like to see that. I was looking into how much it would be, but I
got lost in the qdev dependencies :(

Cheers,
Jes




reply via email to

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