From d50c6c8b0fc28c2dd91f3f7ab2a0bbb56419214b Mon Sep 17 00:00:00 2001 From: Alexey Korolev Date: Wed, 29 Feb 2012 14:35:14 +1300 Subject: [PATCH] piix_pci: fix typo in i400FX chipset init code 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 Signed-off-by: Michael S. Tsirkin --- hw/piix_pci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/piix_pci.c b/hw/piix_pci.c index 179d9a6bb9..09e84f59b6 100644 --- a/hw/piix_pci.c +++ b/hw/piix_pci.c @@ -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; }