From: "Dr. David Alan Gilbert" <dgilbert@redhat.com>
To: Amit Shah <amit.shah@redhat.com>
Cc: Juan Quintela <quintela@redhat.com>,
Stefano Stabellini <stefano.stabellini@eu.citrix.com>,
QEMU-devel <qemu-devel@nongnu.org>,
Xen Devel <xen-devel@lists.xen.org>,
Stefano Stabellini <stefano.stabellini@citrix.com>,
Anthony PERARD <anthony.perard@citrix.com>
Subject: Re: [Qemu-devel] [PATCH for-2.4 0/3] Migration regressions with Xen.
Date: Mon, 3 Aug 2015 09:36:00 +0100 [thread overview]
Message-ID: <20150803083600.GA2362@work-vm> (raw)
In-Reply-To: <20150803054402.GA28564@grmbl.mre>
* Amit Shah (amit.shah@redhat.com) wrote:
> On (Fri) 31 Jul 2015 [10:59:47], Stefano Stabellini wrote:
> > On Thu, 30 Jul 2015, Stefano Stabellini wrote:
> > > On Thu, 30 Jul 2015, Juan Quintela wrote:
> > > > Anthony PERARD <anthony.perard@citrix.com> wrote:
> > > > > This is a critical issue for Xen as migration either with the same version
> > > > > of QEMU, or from a previous version of QEMU is broken.
> > > > >
> > > > > Any suggestion on how to move forward?
> > > >
> > > > Will send a pull requset tomorrow.
> > > >
> > > > Thinking about creating a single function that is called for all needed
> > > > places, just to avoid this problem in the future.
> > > >
> > >
> > > Hi Juan,
> > >
> > > thanks for looking into this!
> > > Do you have patches already we can look at and help you test to make
> > > sure they fix the issue?
> >
> > Any updates?
>
> That bigger overhaul would be 2.5 stuff now.
>
> The only thing that tripped here was the RFC tag in the subject line.
>
> Also, I think Dave had a comment about this but I think that was made
> on IRC. Dave, do you see a problem with this series?
Most of it is in Xen only code, so mostly no, however, the followign code looks
wrong to me:
+void global_state_store_running(void)
+{
+ const char *state = RunState_lookup[RUN_STATE_RUNNING];
+ memcpy((char *)global_state.runstate,
+ state, sizeof(global_state.runstate));
+}
Shouldn't that just be a strcpy ?
Dave
> Thanks,
>
>
> Amit
--
Dr. David Alan Gilbert / dgilbert@redhat.com / Manchester, UK
next prev parent reply other threads:[~2015-08-03 8:36 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-28 15:54 [Qemu-devel] [PATCH RFC 0/3] Migration regressions with Xen Anthony PERARD
2015-07-28 15:54 ` [Qemu-devel] [PATCH RFC 1/3] migration: Fix regretion for xenfv machine Anthony PERARD
2015-07-28 15:54 ` [Qemu-devel] [PATCH RFC 2/3] migration: Fix global state with Xen Anthony PERARD
2015-07-28 15:54 ` [Qemu-devel] [PATCH RFC 3/3] migration: Add configuration section to vmstate with xen Anthony PERARD
2015-07-29 17:54 ` [Qemu-devel] [PATCH for-2.4 0/3] Migration regressions with Xen Anthony PERARD
2015-07-30 11:06 ` Juan Quintela
2015-07-30 11:24 ` Stefano Stabellini
2015-07-31 9:59 ` Stefano Stabellini
2015-08-03 5:44 ` Amit Shah
2015-08-03 8:36 ` Dr. David Alan Gilbert [this message]
2015-08-03 9:37 ` Stefano Stabellini
2015-08-03 12:45 ` Amit Shah
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=20150803083600.GA2362@work-vm \
--to=dgilbert@redhat.com \
--cc=amit.shah@redhat.com \
--cc=anthony.perard@citrix.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).