From: Laurent Vivier <lvivier@redhat.com>
To: Greg Kurz <gkurz@linux.vnet.ibm.com>, Amit Shah <amit.shah@redhat.com>
Cc: Juan Quintela <quintela@redhat.com>,
qemu-ppc@nongnu.org, qemu-devel@nongnu.org,
"Dr. David Alan Gilbert" <dgilbert@redhat.com>,
David Gibson <david@gibson.dropbear.id.au>
Subject: Re: [Qemu-devel] [PATCH v2 3/3] migration: allow to suppress configuration section submission
Date: Thu, 18 Feb 2016 11:25:49 +0100 [thread overview]
Message-ID: <56C59C2D.1090101@redhat.com> (raw)
In-Reply-To: <20160218102432.6b236dab@bahia.huguette.org>
On 18/02/2016 10:24, Greg Kurz wrote:
> On Thu, 18 Feb 2016 12:06:39 +0530
> Amit Shah <amit.shah@redhat.com> 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 <gkurz@linux.vnet.ibm.com>
>>>
>>> Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
>>>
>>> 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
prev parent reply other threads:[~2016-02-18 10:26 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-17 16:03 [Qemu-devel] [PATCH v2 0/3] Fix migration of old pseries Greg Kurz
2016-02-17 16:05 ` [Qemu-devel] [PATCH v2 1/3] migration: allow configuration section to be optional Greg Kurz
2016-02-17 16:06 ` [Qemu-devel] [PATCH v2 2/3] spapr: fix migration of older pseries Greg Kurz
2016-02-17 16:06 ` [Qemu-devel] [PATCH v2 3/3] migration: allow to suppress configuration section submission Greg Kurz
2016-02-18 2:50 ` David Gibson
2016-02-18 6:36 ` Amit Shah
2016-02-18 9:24 ` Greg Kurz
2016-02-18 10:25 ` Laurent Vivier [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=56C59C2D.1090101@redhat.com \
--to=lvivier@redhat.com \
--cc=amit.shah@redhat.com \
--cc=david@gibson.dropbear.id.au \
--cc=dgilbert@redhat.com \
--cc=gkurz@linux.vnet.ibm.com \
--cc=qemu-devel@nongnu.org \
--cc=qemu-ppc@nongnu.org \
--cc=quintela@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).