From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MOtH1-0002Ik-Ov for qemu-devel@nongnu.org; Thu, 09 Jul 2009 09:02:51 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MOtGx-0002EO-NG for qemu-devel@nongnu.org; Thu, 09 Jul 2009 09:02:51 -0400 Received: from [199.232.76.173] (port=42393 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MOtGw-0002Ds-GV for qemu-devel@nongnu.org; Thu, 09 Jul 2009 09:02:46 -0400 Received: from mx2.redhat.com ([66.187.237.31]:54511) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MOtGv-0002EQ-QL for qemu-devel@nongnu.org; Thu, 09 Jul 2009 09:02:46 -0400 Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.13.8/8.13.8) with ESMTP id n69D2jim016286 for ; Thu, 9 Jul 2009 09:02:45 -0400 From: Gerd Hoffmann Date: Thu, 9 Jul 2009 15:02:39 +0200 Message-Id: <1247144560-9014-4-git-send-email-kraxel@redhat.com> In-Reply-To: <1247144560-9014-1-git-send-email-kraxel@redhat.com> References: <1247144560-9014-1-git-send-email-kraxel@redhat.com> Subject: [Qemu-devel] [PATCH 3/4] qdev/isa: make the piix isa bridge register an isa bus. List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Gerd Hoffmann Signed-off-by: Gerd Hoffmann --- hw/piix_pci.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/hw/piix_pci.c b/hw/piix_pci.c index a5d42d1..bc65086 100644 --- a/hw/piix_pci.c +++ b/hw/piix_pci.c @@ -25,6 +25,7 @@ #include "hw.h" #include "pc.h" #include "pci.h" +#include "isa.h" #include "sysbus.h" typedef uint32_t pci_addr_t; @@ -342,6 +343,7 @@ static void piix3_initfn(PCIDevice *d) { uint8_t *pci_conf; + isa_bus_new(&d->qdev, 0, 0); register_savevm("PIIX3", 0, 2, piix_save, piix_load, d); pci_conf = d->config; -- 1.6.2.5