qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v2 0/3] Fix migration of old pseries
@ 2016-02-17 16:03 Greg Kurz
  2016-02-17 16:05 ` [Qemu-devel] [PATCH v2 1/3] migration: allow configuration section to be optional Greg Kurz
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Greg Kurz @ 2016-02-17 16:03 UTC (permalink / raw)
  To: Juan Quintela
  Cc: Laurent Vivier, qemu-devel, Dr. David Alan Gilbert, qemu-ppc,
	Amit Shah, David Gibson

QEMU 2.4 broke the migration of old pseries machine with the addition
of configuration sections, which are sent unconditionally.

This series tries to fix the issue by providing knobs to control submission
and reception of configuration sections. It is an alternative to simply
skipping configuration for older machines (as it done for x86) because we
don't want to break migration from QEMU 2.4 either.

Patches 1 and 2 allow to migrate pseries-2.3 from QEMU 2.3.

Patch 3 is a tentative to support backward migration to QEMU 2.3,
but it needs manual intervention.

With this series, I could migrate a pseries-2.3 from QEMU 2.3 or QEMU 2.4
to current head without manual intervention. I could then migrate it back
either to QEMU 2.3 with suppress-config-section=on or to QEMU 2.4 without
manual intervention.

---

Greg Kurz (3):
      migration: allow configuration section to be optional
      spapr: fix migration of older pseries
      migration: allow to suppress configuration section submission


 hw/core/machine.c   |   43 +++++++++++++++++++++++++++++++++++++++++++
 hw/ppc/spapr.c      |   10 ++++++++++
 include/hw/boards.h |    2 ++
 migration/savevm.c  |   29 ++++++++++++++++++++++-------
 qemu-options.hx     |    4 +++-
 5 files changed, 80 insertions(+), 8 deletions(-)
---
Greg

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2016-02-18 10:26 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-17 16:03 [Qemu-devel] [PATCH v2 0/3] Fix migration of old pseries Greg Kurz
2016-02-17 16:05 ` [Qemu-devel] [PATCH v2 1/3] migration: allow configuration section to be optional Greg Kurz
2016-02-17 16:06 ` [Qemu-devel] [PATCH v2 2/3] spapr: fix migration of older pseries Greg Kurz
2016-02-17 16:06 ` [Qemu-devel] [PATCH v2 3/3] migration: allow to suppress configuration section submission Greg Kurz
2016-02-18  2:50   ` David Gibson
2016-02-18  6:36     ` Amit Shah
2016-02-18  9:24       ` Greg Kurz
2016-02-18 10:25         ` Laurent Vivier

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).