qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH] isa_reserve_irq()


From: Jes Sorensen
Subject: [Qemu-devel] [PATCH] isa_reserve_irq()
Date: Wed, 12 Aug 2009 16:42:44 +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 10:36 PM, Gerd Hoffmann wrote:
Attached a patch. It will:

(1) make isa-bus maintain isa irqs, complain when allocating
already taken irqs.
(2) note that (1) works only for isa devices converted to qdev
already (floppy and ps2/kbd/mouse right now), so more work
is needed to make this really useful.
(3) split floppy init into isa and sysbus versions.
(4) add sysbus->isa bridge & fix -M isapc breakage.

Hi Gerd,

This looks great! I have implemented isa_reserve_irq() on top of this.
It allows one to reserve ISA irqs without converting them to qdev, which
for certain interrupts makes sense, and I have also made the other users
call it until they are converted to qdev.

Let me know what you think. With this I get what I am after.

Cheers,
Jes



Attachment: 0002-isabus-reserve-irq.patch
Description: Text Data


reply via email to

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