Received: from [140.186.70.92] (port=35384 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ofsmg-0000xK-7Y for qemu-devel@nongnu.org; Mon, 02 Aug 2010 07:02:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Ofsmb-0001nP-KC for qemu-devel@nongnu.org; Mon, 02 Aug 2010 07:02:18 -0400 Received: from mx1.redhat.com ([209.132.183.28]:43222) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ofsmb-0001n5-A9 for qemu-devel@nongnu.org; Mon, 02 Aug 2010 07:02:13 -0400 From: Markus Armbruster Subject: Re: [Qemu-devel] [Bug 611646] [NEW] isa bus not working References: <20100730102615.27748.50120.malonedeb@wampee.canonical.com> <20100730102615.27748.50120.malonedeb@wampee.canonical.com> <20100802085339.GA9761@valinux.co.jp> Date: Mon, 02 Aug 2010 13:02:06 +0200 In-Reply-To: <20100802085339.GA9761@valinux.co.jp> (Isaku Yamahata's message of "Mon, 2 Aug 2010 17:53:39 +0900") Message-ID: 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: Isaku Yamahata Cc: Bug 611646 <611646@bugs.launchpad.net>, qemu-devel@nongnu.org Isaku Yamahata writes: > Sorry for that. > Does the attached patch fix it? As far as I can see, yes. I'd prefer: diff --git a/hw/pc_piix.c b/hw/pc_piix.c index 812ddfd..34c65d5 100644 --- a/hw/pc_piix.c +++ b/hw/pc_piix.c @@ -103,6 +103,7 @@ static void pc_init1(ram_addr_t ram_size, pci_bus = i440fx_init(&i440fx_state, &piix3_devfn, isa_irq, ram_size); } else { pci_bus = NULL; + i440fx_state = NULL; isa_bus_new(NULL); } isa_bus_irqs(isa_irq); Matter of taste, so you get to pick.