|
From: | Gerd Hoffmann |
Subject: | Re: [Qemu-devel] [PATCH] qemu_reserve_isa_irq() |
Date: | Tue, 11 Aug 2009 16:08:33 +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 Lightning/1.0pre Thunderbird/3.0b2 |
On 08/11/09 13:32, Jes Sorensen wrote:
On 08/10/2009 08:57 PM, Anthony Liguori wrote:Given the new isa qdev support, maybe it would be better to hook into isa_connect_irq?Hi Anthony, 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.
cheers, Gerd
[Prev in Thread] | Current Thread | [Next in Thread] |