From: "Dr. David Alan Gilbert" <dgilbert@redhat.com>
To: Peter Maydell <peter.maydell@linaro.org>
Cc: Juan Quintela <quintela@redhat.com>,
QEMU Developers <qemu-devel@nongnu.org>,
"patches@linaro.org" <patches@linaro.org>
Subject: Re: [Qemu-devel] [PATCH] migration: Correctly handle subsections with no 'needed' function
Date: Tue, 7 Aug 2018 16:12:15 +0100 [thread overview]
Message-ID: <20180807151215.GM2556@work-vm> (raw)
In-Reply-To: <CAFEAcA_XJGWPioUDUR0+9v16Xj_osDwk7OYEK3vkqdg_SacMXA@mail.gmail.com>
* Peter Maydell (peter.maydell@linaro.org) wrote:
> On 7 August 2018 at 16:05, Juan Quintela <quintela@redhat.com> wrote:
> > Peter Maydell <peter.maydell@linaro.org> wrote:
> >> So it's better to use a needed-always subsection, which will give
> >> the desired behaviour:
> >> * new QEMU -> new QEMU: state is always migrated
> >> * old QEMU -> new QEMU: migration doesn't fail, and guest
> >> will work assuming it didn't care about this corner of the
> >> device's functionality (the device will end up with state
> >> as it was at reset, or possibly special-cased via
> >> pre_load/post_load hooks for the "section not present" case)
> >
> > we break by definiton new QEMU -M <old machine type> into old QEMU.
>
> Is that supposed to work? I always thought that we never
> supported migration back to an older QEMU version like that.
Downstream we do a lot of hard work to keep that working for versioned
machine types; using subsections makes this a lot easier and if it's
done right in the first place then it works upstream as well.
> In any case, for all the devices here the machine types are
> not versioned.
Right.
Dave
> thanks
> -- PMM
--
Dr. David Alan Gilbert / dgilbert@redhat.com / Manchester, UK
next prev parent reply other threads:[~2018-08-07 15:12 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-08-07 13:03 [Qemu-devel] [PATCH] migration: Correctly handle subsections with no 'needed' function Peter Maydell
2018-08-07 13:17 ` Juan Quintela
2018-08-07 13:21 ` Peter Maydell
2018-08-07 13:25 ` Peter Maydell
2018-08-07 14:32 ` Juan Quintela
2018-08-07 14:39 ` Peter Maydell
2018-08-07 14:49 ` Juan Quintela
2018-08-07 15:00 ` Peter Maydell
2018-08-07 15:05 ` Juan Quintela
2018-08-07 15:09 ` Peter Maydell
2018-08-07 15:12 ` Dr. David Alan Gilbert [this message]
2018-08-08 7:27 ` Juan Quintela
2018-08-08 13:47 ` Peter Maydell
2018-08-07 13:43 ` Dr. David Alan Gilbert
2018-08-07 13:41 ` Dr. David Alan Gilbert
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=20180807151215.GM2556@work-vm \
--to=dgilbert@redhat.com \
--cc=patches@linaro.org \
--cc=peter.maydell@linaro.org \
--cc=qemu-devel@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).