From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35842) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aY8HN-0008Jz-AK for qemu-devel@nongnu.org; Tue, 23 Feb 2016 03:25:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aY8HJ-0001s3-9y for qemu-devel@nongnu.org; Tue, 23 Feb 2016 03:25:09 -0500 From: Juan Quintela In-Reply-To: <20160218113224.9760.37802.stgit@bahia.huguette.org> (Greg Kurz's message of "Thu, 18 Feb 2016 12:32:25 +0100") References: <20160218113211.9760.85475.stgit@bahia.huguette.org> <20160218113224.9760.37802.stgit@bahia.huguette.org> Date: Tue, 23 Feb 2016 09:24:59 +0100 Message-ID: <8760xfbzqc.fsf@emacs.mitica> MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] [PATCH v3 2/2] migration: allow machine to enforce configuration section migration Reply-To: quintela@redhat.com List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Greg Kurz Cc: Laurent Vivier , qemu-devel@nongnu.org, "Dr. David Alan Gilbert" , qemu-ppc@nongnu.org, Amit Shah , David Gibson Greg Kurz wrote: > Migration of pseries-2.3 doesn't have configuration section. Unfortunately, > QEMU 2.4/2.4.1/2.5 are buggy and always stream and expect the configuration > section, and break migration both ways. > > This patch introduces a property which allows to enforce a configuration > section for machines who don't have one. > > It can be set at startup: > > -machine enforce-config-section=on > > or later from the QEMU monitor: > > qom-set /machine enforce-config-section on > > It is up to the tooling to set or unset this property according to the > version of the QEMU at the other end of the pipe. > > Signed-off-by: Greg Kurz Reviewed-by: Juan Quintela As said elsewere, we should have catch this one on 2.4. Once we are here, I can't see a better way to fix the mess :-()