From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48099) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVGBT-0006fh-OA for qemu-devel@nongnu.org; Mon, 15 Feb 2016 05:15:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aVGBO-0000hR-Kq for qemu-devel@nongnu.org; Mon, 15 Feb 2016 05:15:11 -0500 Received: from e06smtp08.uk.ibm.com ([195.75.94.104]:37403) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVGBO-0000fw-AV for qemu-devel@nongnu.org; Mon, 15 Feb 2016 05:15:06 -0500 Received: from localhost by e06smtp08.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 15 Feb 2016 10:15:04 -0000 From: Greg Kurz Date: Mon, 15 Feb 2016 11:14:57 +0100 Message-ID: <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 0/2] Fix migration of old 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" QEMU 2.4 broke the migration of old pseries machine with the addition of configuration sections, which are sent unconditionally. This series fixes the issue by allowing the configuration sections to be made optional with a machine property. This approach is an alternative to simply skipping configuration for older machines (as it done for x86): it allows QEMU to accept incoming migration of older pseries with or without the configuration section. So it fixes migration from QEMU 2.3 without breaking QEMU 2.4. --- Greg Kurz (2): migration: allow configuration section to be optional spapr: fix migration of older pseries hw/core/machine.c | 21 +++++++++++++++++++++ hw/ppc/spapr.c | 1 + include/hw/boards.h | 1 + migration/savevm.c | 21 +++++++++++++++------ qemu-options.hx | 3 ++- 5 files changed, 40 insertions(+), 7 deletions(-)