diff mbox

device-assignment: Add fields to VMStateDescription

Message ID 20110107064812.25215.94749.stgit@s20.home (mailing list archive)
State New, archived
Headers show

Commit Message

Alex Williamson Jan. 7, 2011, 6:49 a.m. UTC
None
diff mbox

Patch

diff --git a/hw/device-assignment.c b/hw/device-assignment.c
index 8446cd4..64636ce 100644
--- a/hw/device-assignment.c
+++ b/hw/device-assignment.c
@@ -1689,7 +1689,10 @@  static void assigned_dev_unregister_msix_mmio(AssignedDevice *dev)
 }
 
 static const VMStateDescription vmstate_assigned_device = {
-    .name = "pci-assign"
+    .name = "pci-assign",
+    .fields = (VMStateField []) {
+        VMSTATE_END_OF_LIST()
+    }
 };
 
 static void reset_assigned_device(DeviceState *dev)