qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [Bug 611646] [NEW] isa bus not working


From: Markus Armbruster
Subject: Re: [Qemu-devel] [Bug 611646] [NEW] isa bus not working
Date: Mon, 02 Aug 2010 13:02:06 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)

Isaku Yamahata <address@hidden> 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.



reply via email to

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