qemu-ppc
[Top][All Lists]
Advanced

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

[Qemu-ppc] [PATCH 2/2] spapr: fix migration of older pseries


From: Greg Kurz
Subject: [Qemu-ppc] [PATCH 2/2] spapr: fix migration of older pseries
Date: Mon, 15 Feb 2016 11:15:14 +0100
User-agent: StGit/0.17.1-dirty

Use the config_section machine property to fix migration
of older pseries started with an older QEMU (version < 2.4
for both).

Older machines started with QEMU 2.4 are not affected by
this change since they send the configuration section
unconditionally.

Signed-off-by: Greg Kurz <address@hidden>
---
 hw/ppc/spapr.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/hw/ppc/spapr.c b/hw/ppc/spapr.c
index 5bd8fd3ef842..cd6681acb87b 100644
--- a/hw/ppc/spapr.c
+++ b/hw/ppc/spapr.c
@@ -2446,6 +2446,7 @@ static void 
spapr_machine_2_3_instance_options(MachineState *machine)
     spapr_machine_2_4_instance_options(machine);
     savevm_skip_section_footers();
     global_state_set_optional();
+    machine->config_section = false;
 }
 
 static void spapr_machine_2_3_class_options(MachineClass *mc)




reply via email to

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