From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41473) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWMor-0008JG-3N for qemu-devel@nongnu.org; Thu, 18 Feb 2016 06:32:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aWMoo-0005SH-1y for qemu-devel@nongnu.org; Thu, 18 Feb 2016 06:32:25 -0500 Received: from e06smtp13.uk.ibm.com ([195.75.94.109]:41457) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWMon-0005Pi-OV for qemu-devel@nongnu.org; Thu, 18 Feb 2016 06:32:21 -0500 Received: from localhost by e06smtp13.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 18 Feb 2016 11:32:17 -0000 From: Greg Kurz Date: Thu, 18 Feb 2016 12:32:11 +0100 Message-ID: <20160218113211.9760.85475.stgit@bahia.huguette.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] [PATCH v3 0/2] 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. We assume that QEMU 2.3 is more deployed than any newer release (based on the versions currently shipped by most distros). This v3 series hence reverses the logic from v2: it now fully fixes migration of old pseries from/to QEMU 2.3 and provides a manual workaround for the QEMU 2.4/2.4.1/2.5 case. With this series, I could migrate the same pseries-2.3 instance in a full 2.3->2.6->2.5->2.6->2.4->2.6->2.3 cycle. --- Greg Kurz (2): spapr: skip configuration section during migration of older machines migration: allow machine to enforce configuration section migration hw/core/machine.c | 21 +++++++++++++++++++++ hw/ppc/spapr.c | 1 + include/hw/boards.h | 1 + migration/savevm.c | 10 ++++++++-- qemu-options.hx | 3 ++- 5 files changed, 33 insertions(+), 3 deletions(-) -- Greg