From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54970) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWLma-0000Zs-LH for qemu-devel@nongnu.org; Thu, 18 Feb 2016 05:26:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aWLmW-0006Bb-Oi for qemu-devel@nongnu.org; Thu, 18 Feb 2016 05:26:00 -0500 References: <20160217160344.840.69108.stgit@bahia.huguette.org> <20160217160628.840.96784.stgit@bahia.huguette.org> <20160218025025.GE15224@voom.fritz.box> <20160218063639.GB4440@grmbl.mre> <20160218102432.6b236dab@bahia.huguette.org> From: Laurent Vivier Message-ID: <56C59C2D.1090101@redhat.com> Date: Thu, 18 Feb 2016 11:25:49 +0100 MIME-Version: 1.0 In-Reply-To: <20160218102432.6b236dab@bahia.huguette.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v2 3/3] migration: allow to suppress configuration section submission List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Greg Kurz , Amit Shah Cc: Juan Quintela , qemu-ppc@nongnu.org, qemu-devel@nongnu.org, "Dr. David Alan Gilbert" , David Gibson On 18/02/2016 10:24, Greg Kurz wrote: > On Thu, 18 Feb 2016 12:06:39 +0530 > Amit Shah wrote: > >> On (Thu) 18 Feb 2016 [13:50:25], David Gibson wrote: >>> On Wed, Feb 17, 2016 at 05:06:43PM +0100, Greg Kurz wrote: >>>> Since the addition of the configuration section in QEMU 2.4, it is impossible >>>> to migrate a pseries-2.3 machine back to QEMU 2.3. >>>> >>>> This patch makes it possible thanks to a new machine property which allows to >>>> disable configuration section submission. >>>> >>>> To disable submission, just add: >>>> >>>> -machine suppress-config-section=on >>>> >>>> Alternatively, if the target QEMU version isn't known at startup, this can >>>> be done later from the QEMU monitor with: >>>> >>>> qom-set /machine suppress-config-section on >>>> >>>> This property won't be automatically set for pseries-2.3 because it would >>>> then break backward migration to QEMU 2.4. If automatic behaviour is needed, >>>> it is up to the tooling to handle this. >>> >>> As noted elsewhere, I'd actually be ok with enabling it for >>> pseries-2.3. Basically we have to chose whether to work against qemu >>> 2.3 or 2.4 out of the box, we can't have both, and it sounds like qemu >>> 2.3 is more widely deployed than qemu 2.4. >>> >>>> >>>> Signed-off-by: Greg Kurz >>> >>> Reviewed-by: David Gibson >>> >>> I'm not sure whose tree these need to go in via. >> >> I'd like to see Juan's ack, and I'm fine if you take it via your tree. >> >> >> >> Amit >> > > Hi, > > I also have another option I'd like to submit. Basically, this would > be: > - introduce a enforce-config-section machine property which allows to > override the savevm_state.skip_configuration flag > - update pseries-2.3 to skip configuration section by default (like it > should have been done in the beginning) > > It would fix migration from/to QEMU 2.3 of pseries-2.3 without manual > intervention. Only migration to/from QEMU 2.4/2.5 would require manual > use of the enforce-config-section. > > Laurent, is this what you had in mind ? Yes :) If you post a new series with this idea, I'll test it to be sure we don't introduce new problems. Laurent