summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Maydell2014-05-29 13:05:34 +0200
committerAlexander Graf2014-06-16 13:24:41 +0200
commitf2e2bc9ca06a1c2c6b300c19d4b938c7273a2f76 (patch)
tree050a325ebea12e589b6c639fa4021695a0b5fffc
parenttarget-ppc: Store Quadword Conditional Drops Size Bit (diff)
downloadqemu-f2e2bc9ca06a1c2c6b300c19d4b938c7273a2f76.tar.gz
qemu-f2e2bc9ca06a1c2c6b300c19d4b938c7273a2f76.tar.xz
qemu-f2e2bc9ca06a1c2c6b300c19d4b938c7273a2f76.zip
hw/pci-host/ppce500: Fix typo in vmstate definition
Fix a typo in the ppce500_pci vmstate definition which meant that we were migrating the struct pci_inbound using the vmstate for pci_outbound. Fortunately the two structures have exactly the same format at the moment (four uint32_ts) so this was harmless, and we can correcting the typo without a migration compatibility break because the vmstate name doesn't go out on the wire. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Alexander Graf <agraf@suse.de>
-rw-r--r--hw/pci-host/ppce500.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/pci-host/ppce500.c b/hw/pci-host/ppce500.c
index 6e3782ce1b..1b4c0f0023 100644
--- a/hw/pci-host/ppce500.c
+++ b/hw/pci-host/ppce500.c
@@ -323,7 +323,7 @@ static const VMStateDescription vmstate_ppce500_pci = {
VMSTATE_STRUCT_ARRAY(pob, PPCE500PCIState, PPCE500_PCI_NR_POBS, 1,
vmstate_pci_outbound, struct pci_outbound),
VMSTATE_STRUCT_ARRAY(pib, PPCE500PCIState, PPCE500_PCI_NR_PIBS, 1,
- vmstate_pci_outbound, struct pci_inbound),
+ vmstate_pci_inbound, struct pci_inbound),
VMSTATE_UINT32(gasket_time, PPCE500PCIState),
VMSTATE_END_OF_LIST()
}