qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Greg Kurz <gkurz@linux.vnet.ibm.com>
To: Juan Quintela <quintela@redhat.com>
Cc: Amit Shah <amit.shah@redhat.com>,
	David Gibson <david@gibson.dropbear.id.au>,
	qemu-ppc@nongnu.org, qemu-devel@nongnu.org,
	"Dr. David Alan Gilbert" <dgilbert@redhat.com>
Subject: [Qemu-devel] [PATCH 2/2] spapr: fix migration of older pseries
Date: Mon, 15 Feb 2016 11:15:14 +0100	[thread overview]
Message-ID: <20160215101514.32327.78919.stgit@bahia.huguette.org> (raw)
In-Reply-To: <20160215100313.32327.90332.stgit@bahia.huguette.org>

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 <gkurz@linux.vnet.ibm.com>
---
 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)

      parent reply	other threads:[~2016-02-15 10:15 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-15 10:14 [Qemu-devel] [PATCH 0/2] Fix migration of old pseries Greg Kurz
2016-02-15 10:15 ` [Qemu-devel] [PATCH 1/2] migration: allow configuration section to be optional Greg Kurz
2016-02-15 11:23   ` Laurent Vivier
2016-02-15 12:58     ` Greg Kurz
2016-02-15 14:49       ` Laurent Vivier
2016-02-16  9:09         ` Greg Kurz
2016-02-16  9:31           ` Laurent Vivier
2016-02-16 10:39             ` Greg Kurz
2016-02-16 17:09             ` Dr. David Alan Gilbert
2016-02-17  9:29               ` Greg Kurz
2016-02-16 17:01   ` Dr. David Alan Gilbert
2016-02-16 17:43     ` Greg Kurz
2016-02-15 10:15 ` Greg Kurz [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160215101514.32327.78919.stgit@bahia.huguette.org \
    --to=gkurz@linux.vnet.ibm.com \
    --cc=amit.shah@redhat.com \
    --cc=david@gibson.dropbear.id.au \
    --cc=dgilbert@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-ppc@nongnu.org \
    --cc=quintela@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).