summaryrefslogtreecommitdiffstats
path: root/hw/piix_pci.c
diff options
context:
space:
mode:
authorAlexey Korolev2012-02-29 02:35:14 +0100
committerMichael S. Tsirkin2012-04-11 12:19:32 +0200
commitd50c6c8b0fc28c2dd91f3f7ab2a0bbb56419214b (patch)
tree7251979d86937efffe8292576605014640e858f8 /hw/piix_pci.c
parentMerge commit 'ff71f2e8cacefae99179993204172bc65e4303df' into staging (diff)
downloadqemu-d50c6c8b0fc28c2dd91f3f7ab2a0bbb56419214b.tar.gz
qemu-d50c6c8b0fc28c2dd91f3f7ab2a0bbb56419214b.tar.xz
qemu-d50c6c8b0fc28c2dd91f3f7ab2a0bbb56419214b.zip
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 <alexey.korolev@endace.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/piix_pci.c')
-rw-r--r--hw/piix_pci.c2
1 files changed, 1 insertions, 1 deletions
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;
}