From: Amit Shah <amit.shah@redhat.com>
To: Greg Kurz <gkurz@linux.vnet.ibm.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>,
qemu-devel@nongnu.org, Peter Maydell <peter.maydell@linaro.org>,
"Dr. David Alan Gilbert" <dgilbert@redhat.com>,
Juan Quintela <quintela@redhat.com>
Subject: Re: [Qemu-devel] [PATCH] migration: introduce migrate_is_blocked()
Date: Mon, 23 May 2016 21:42:23 +0530 [thread overview]
Message-ID: <20160523161223.GE24585@grmbl.mre> (raw)
In-Reply-To: <20160511141034.0955306d@bahia.lab.toulouse-stg.fr.ibm.com>
On (Wed) 11 May 2016 [14:10:34], Greg Kurz wrote:
> On Wed, 11 May 2016 13:59:19 +0200
> Paolo Bonzini <pbonzini@redhat.com> wrote:
>
> > On 04/05/2016 21:44, Greg Kurz wrote:
> > > QEMU has currently two ways to prevent migration to occur:
> > > - migration blocker when it depends on runtime state
> > > - VMStateDescription.unmigratable when migration is not supported at all
> > >
> > > This patch gathers all the logic into a single function to be called from
> > > both the savevm and the migrate paths.
> > >
> > > This fixes a bug with 9p, at least, where savevm would succeed and the
> > > following would happen in the guest after loadvm:
> > >
> > > $ ls /host
> > > ls: cannot access /host: Protocol error
> > >
> > > With this patch:
> > >
> > > (qemu) savevm foo
> > > Migration is disabled when VirtFS export path '/' is mounted in the guest
> > > using mount_tag 'host'
> > >
> > > Signed-off-by: Greg Kurz <gkurz@linux.vnet.ibm.com>
> > > ---
> > >
> > > Since there has been some activity on 9p again since a few weeks, maybe it
> > > is not too late for 2.6, if everybody agrees the fix is ok ?
> >
> > The patch is good, but I think the subject should be
> >
> > savevm: fail if migration blockers are present
> >
> > The subject you used would be good for the include/migration and
> > migration/migration.c parts alone (where you introduce the function
> > without any semantic change).
> >
>
> Yeah, I agree the subject you are suggesting is far more informative :)
I'll apply this with the suggested subject.
Please CC the migration maintainers for faster processing next time
around.
Thanks,
Amit
next prev parent reply other threads:[~2016-05-23 16:58 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-04 19:44 [Qemu-devel] [PATCH] migration: introduce migrate_is_blocked() Greg Kurz
2016-05-11 9:15 ` Greg Kurz
2016-05-11 11:59 ` Paolo Bonzini
2016-05-11 12:10 ` Greg Kurz
2016-05-23 16:12 ` Amit Shah [this message]
2016-05-23 17:06 ` Greg Kurz
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=20160523161223.GE24585@grmbl.mre \
--to=amit.shah@redhat.com \
--cc=dgilbert@redhat.com \
--cc=gkurz@linux.vnet.ibm.com \
--cc=pbonzini@redhat.com \
--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).