[Top][All Lists]

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

[Qemu-devel] [PATCH] mips malta: Fix fdc regression

From: Stefan Weil
Subject: [Qemu-devel] [PATCH] mips malta: Fix fdc regression
Date: Fri, 28 Aug 2009 13:48:20 +0200

8baf73adf664e79eae201c3f618078a220a661d9 (qdev/isa: convert fdc)
breaks MIPS Malta:

Tried to create isa device isa-fdc with no isa bus present

Fix this by creating an isa bus for piix4.

Signed-off-by: Stefan Weil <address@hidden>
 hw/piix_pci.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/hw/piix_pci.c b/hw/piix_pci.c
index c9fef92..91fd038 100644
--- a/hw/piix_pci.c
+++ b/hw/piix_pci.c
@@ -365,6 +365,7 @@ static int piix4_initfn(PCIDevice *d)
     uint8_t *pci_conf;
+    isa_bus_new(&d->qdev);
     register_savevm("PIIX4", 0, 2, piix_save, piix_load, d);
     pci_conf = d->config;

reply via email to

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