Received: from eggs.gnu.org ([2001:4830:134:3::10]:44900) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aW4a4-0002NI-EX for qemu-devel@nongnu.org; Wed, 17 Feb 2016 11:04:02 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aW4Zz-00022M-Dx for qemu-devel@nongnu.org; Wed, 17 Feb 2016 11:03:56 -0500 Received: from e06smtp16.uk.ibm.com ([195.75.94.112]:37552) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aW4Zz-00021Q-48 for qemu-devel@nongnu.org; Wed, 17 Feb 2016 11:03:51 -0500 Received: from localhost by e06smtp16.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 17 Feb 2016 16:03:48 -0000 From: Greg Kurz Date: Wed, 17 Feb 2016 17:03:44 +0100 Message-ID: <20160217160344.840.69108.stgit@bahia.huguette.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] [PATCH v2 0/3] Fix migration of old pseries List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Juan Quintela Cc: Laurent Vivier , qemu-devel@nongnu.org, "Dr. David Alan Gilbert" , qemu-ppc@nongnu.org, 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