summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--xen-common.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/xen-common.c b/xen-common.c
index 56359ca725..0dcdbc39f4 100644
--- a/xen-common.c
+++ b/xen-common.c
@@ -12,6 +12,7 @@
 #include "qmp-commands.h"
 #include "sysemu/char.h"
 #include "sysemu/accel.h"
+#include "migration/migration.h"
 
 //#define DEBUG_XEN
 
@@ -119,6 +120,10 @@ static int xen_init(MachineState *ms)
     }
     qemu_add_vm_change_state_handler(xen_change_state_handler, NULL);
 
+    global_state_set_optional();
+    savevm_skip_configuration();
+    savevm_skip_section_footers();
+
     return 0;
 }