qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PULL for-2.4 1/3] migration: Fix regretion for xenfv machi


From: Amit Shah
Subject: [Qemu-devel] [PULL for-2.4 1/3] migration: Fix regretion for xenfv machine.
Date: Mon, 3 Aug 2015 18:14:58 +0530

From: Anthony PERARD <address@hidden>

This fix migration from the same QEMU version and from previous QEMU
version.

>From the global state section, we don't need runstate with Xen. Right now,
the way the Xen toolstack knows when QEMU is ready is when QEMU reach
"running" runstate.

The configuration sectin and the section footers are not going to be
present in previous version of QEMU with xenfv machine, so we skip them.

Signed-off-by: Anthony PERARD <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Amit Shah <address@hidden>
---
 hw/i386/pc_piix.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/hw/i386/pc_piix.c b/hw/i386/pc_piix.c
index a896624..b18758d 100644
--- a/hw/i386/pc_piix.c
+++ b/hw/i386/pc_piix.c
@@ -455,6 +455,9 @@ static void pc_xen_hvm_init(MachineState *machine)
     if (bus != NULL) {
         pci_create_simple(bus, -1, "xen-platform");
     }
+    global_state_set_optional();
+    savevm_skip_configuration();
+    savevm_skip_section_footers();
 }
 #endif
 
-- 
2.4.3




reply via email to

[Prev in Thread] Current Thread [Next in Thread]