piix_pci: fix typo in i400FX chipset init code
authorAlexey Korolev <alexey.korolev@endace.com>
Wed, 29 Feb 2012 01:35:14 +0000 (14:35 +1300)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 11 Apr 2012 10:19:32 +0000 (13:19 +0300)
There is a typo in i440FX init code. This is causing problems when
somebody wants to access the 64bit PCI range.

Signed-off-by: Alexey Korolev <alexey.korolev@endace.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/piix_pci.c

index 179d9a6..09e84f5 100644 (file)
@@ -349,7 +349,7 @@ PCIBus *i440fx_init(PCII440FXState **pi440fx_state, int *piix3_devfn,
     b = i440fx_common_init("i440FX", pi440fx_state, piix3_devfn, isa_bus, pic,
                            address_space_mem, address_space_io, ram_size,
                            pci_hole_start, pci_hole_size,
-                           pci_hole64_size, pci_hole64_size,
+                           pci_hole64_start, pci_hole64_size,
                            pci_memory, ram_memory);
     return b;
 }