From: Anthony PERARD <anthony.perard@citrix.com>
To: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Cc: Amit Shah <amit.shah@redhat.com>,
Juan Quintela <quintela@redhat.com>,
Stefano Stabellini <stefano.stabellini@citrix.com>,
QEMU-devel <qemu-devel@nongnu.org>,
Xen Devel <xen-devel@lists.xen.org>
Subject: Re: [Qemu-devel] [PATCH for-2.4 v3 2/3] migration: Add configuration section to vmstate with xen.
Date: Mon, 3 Aug 2015 15:53:09 +0100 [thread overview]
Message-ID: <20150803145309.GA1394@perard.uk.xensource.com> (raw)
In-Reply-To: <alpine.DEB.2.02.1508031547280.11337@kaball.uk.xensource.com>
On Mon, Aug 03, 2015 at 03:48:18PM +0100, Stefano Stabellini wrote:
> On Mon, 3 Aug 2015, Anthony PERARD wrote:
> > This adds the configuration section in the vmstate saved by
> > xen_save_devices_state.
> >
> > Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
>
> It doesn't seem to me that this patch is actually necessary to fix the
> issue, is that right?
No, it is not. This is going to be skipped with the next patch and with
accel=xen.
> If that is the case, I would rather skip it.
>
>
> > migration/savevm.c | 5 +++++
> > 1 file changed, 5 insertions(+)
> >
> > diff --git a/migration/savevm.c b/migration/savevm.c
> > index 6071215..b3f605c 100644
> > --- a/migration/savevm.c
> > +++ b/migration/savevm.c
> > @@ -961,6 +961,11 @@ static int qemu_save_device_state(QEMUFile *f)
> >
> > cpu_synchronize_all_states();
> >
> > + if (!savevm_state.skip_configuration) {
> > + qemu_put_byte(f, QEMU_VM_CONFIGURATION);
> > + vmstate_save_state(f, &vmstate_configuration, &savevm_state, 0);
> > + }
> > +
> > QTAILQ_FOREACH(se, &savevm_state.handlers, entry) {
> > if (se->is_ram) {
> > continue;
> > --
> > Anthony PERARD
> >
--
Anthony PERARD
next prev parent reply other threads:[~2015-08-03 14:53 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-03 14:29 [Qemu-devel] [PATCH for-2.4 v3 0/3] Migration regressions with Xen Anthony PERARD
2015-08-03 14:29 ` [Qemu-devel] [PATCH for-2.4 v3 1/3] migration: Fix global state " Anthony PERARD
2015-08-03 14:53 ` Stefano Stabellini
2015-08-03 16:06 ` Amit Shah
2015-08-03 14:29 ` [Qemu-devel] [PATCH for-2.4 v3 2/3] migration: Add configuration section to vmstate with xen Anthony PERARD
2015-08-03 14:48 ` Stefano Stabellini
2015-08-03 14:53 ` Anthony PERARD [this message]
2015-08-03 14:29 ` [Qemu-devel] [PATCH for-2.4 v3 3/3] migration: Fix regression for xenfv and pc, accel=xen machine Anthony PERARD
2015-08-03 14:53 ` Stefano Stabellini
2015-08-03 16:07 ` [Qemu-devel] [PATCH for-2.4 v3 0/3] Migration regressions with Xen Amit Shah
2015-08-03 16:10 ` [Qemu-devel] [Xen-devel] " Stefano Stabellini
2015-08-03 16:23 ` [Qemu-devel] " Anthony PERARD
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=20150803145309.GA1394@perard.uk.xensource.com \
--to=anthony.perard@citrix.com \
--cc=amit.shah@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=quintela@redhat.com \
--cc=stefano.stabellini@citrix.com \
--cc=stefano.stabellini@eu.citrix.com \
--cc=xen-devel@lists.xen.org \
/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).