From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48236) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVGBi-0006uu-Ec for qemu-devel@nongnu.org; Mon, 15 Feb 2016 05:15:27 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aVGBd-0000m9-6W for qemu-devel@nongnu.org; Mon, 15 Feb 2016 05:15:26 -0500 Received: from e06smtp11.uk.ibm.com ([195.75.94.107]:42093) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVGBc-0000lv-Rt for qemu-devel@nongnu.org; Mon, 15 Feb 2016 05:15:21 -0500 Received: from localhost by e06smtp11.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 15 Feb 2016 10:15:20 -0000 From: Greg Kurz Date: Mon, 15 Feb 2016 11:15:14 +0100 Message-ID: <20160215101514.32327.78919.stgit@bahia.huguette.org> In-Reply-To: <20160215100313.32327.90332.stgit@bahia.huguette.org> References: <20160215100313.32327.90332.stgit@bahia.huguette.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] [PATCH 2/2] spapr: fix migration of older pseries List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Juan Quintela Cc: Amit Shah , David Gibson , qemu-ppc@nongnu.org, qemu-devel@nongnu.org, "Dr. David Alan Gilbert" 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 --- 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)