Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MbsKt-0005aa-Ay for qemu-devel@nongnu.org; Fri, 14 Aug 2009 04:40:31 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MbsKo-0005Yi-5s for qemu-devel@nongnu.org; Fri, 14 Aug 2009 04:40:30 -0400 Received: from [199.232.76.173] (port=42072 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MbsKn-0005Yd-Tn for qemu-devel@nongnu.org; Fri, 14 Aug 2009 04:40:25 -0400 Received: from mx2.redhat.com ([66.187.237.31]:56575) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MbsKn-0005zZ-Eu for qemu-devel@nongnu.org; Fri, 14 Aug 2009 04:40:25 -0400 Subject: Re: [Qemu-devel] [PATCH] qemu_reserve_isa_irq() References: <4A7ADE70.7060204@sgi.com> <4A806D86.8090208@codemonkey.ws> <4A8156D4.2090000@sgi.com> <4A817B61.2010803@redhat.com> <4A818415.8020706@sgi.com> <4A81D666.2010404@redhat.com> From: Markus Armbruster Date: Fri, 14 Aug 2009 10:40:21 +0200 In-Reply-To: <4A81D666.2010404@redhat.com> (Gerd Hoffmann's message of "Tue\, 11 Aug 2009 22\:36\:54 +0200") Message-ID: <87ocqiokju.fsf@pike.pond.sub.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gerd Hoffmann Cc: Anthony Liguori , Jes Sorensen , qemu-devel , Gleb Natapov Gerd Hoffmann writes: > 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. It fixes this: $ qemu tmp.qcow2 -S -M isapc Tried to create isa device i8042 with no isa bus present. Segmentation fault (core dumped)