]> Git Repo - qemu.git/blobdiff - hw/pci.c
savevm: Add DeviceState param
[qemu.git] / hw / pci.c
index 1e77ae66e62f39e123284c431f6ed237ab9e598e..79f1f118a3b8fd26f7663d62a6f9c03dfa6d3331 100644 (file)
--- a/hw/pci.c
+++ b/hw/pci.c
@@ -232,7 +232,7 @@ void pci_bus_new_inplace(PCIBus *bus, DeviceState *parent,
     QLIST_INIT(&bus->child);
     pci_host_bus_register(0, bus); /* for now only pci domain 0 is supported */
 
-    vmstate_register(-1, &vmstate_pcibus, bus);
+    vmstate_register(NULL, -1, &vmstate_pcibus, bus);
     qemu_register_reset(pci_bus_reset, bus);
 }
 
This page took 0.022291 seconds and 4 git commands to generate.