From: "Dr. David Alan Gilbert" <dgilbert@redhat.com>
To: Eric Blake <eblake@redhat.com>
Cc: haris iqbal <haris.phnx@gmail.com>,
QEMU Developers <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] [Qemu-devel [RFC] [WIP] v2] Keeping the Source side alive incase of network failure (Migration recovery from network failure)
Date: Wed, 15 Jun 2016 14:03:48 +0100 [thread overview]
Message-ID: <20160615130347.GF2272@work-vm> (raw)
In-Reply-To: <575ED37A.10004@redhat.com>
* Eric Blake (eblake@redhat.com) wrote:
> On 06/13/2016 12:38 AM, haris iqbal wrote:
>
> >>> ##
> >>> { 'enum': 'RunState',
> >>> 'data': [ 'debug', 'inmigrate', 'internal-error', 'io-error', 'paused',
> >>> 'postmigrate', 'prelaunch', 'finish-migrate', 'restore-vm',
> >>> 'running', 'save-vm', 'shutdown', 'suspended', 'watchdog',
> >>> - 'guest-panicked' ] }
> >>> + 'guest-panicked', 'postmigrate-recovery' ] }
> >>
> >> Adding new enums can cause existing clients like libvirt to do weird
> >> things if they aren't expecting the new state. Are we sure we want to do
> >> it?
> > I think so. If we do not have a new state, then one would not know
> > that the VM is in recovery.
> >
> >> Is it a state that cannot be entered by default, but only in
> >> response to a client request that proves the client is new enough to
> >> expect the new state?
> >
> > I did not quite understand what you are trying to say.
> >
>
> A client that is not expecting the new 'postmigrate-recovery' state may
> mishandle a VM that is in that state. So I'm suggesting that we may
> want to special case this state, and make it possible to enter the state
> only if the client has done something first to inform qemu that it
> understands what it means for a VM to be in that state.
Do you mean another migration capability?
Dave
>
> --
> Eric Blake eblake redhat com +1-919-301-3266
> Libvirt virtualization library http://libvirt.org
>
--
Dr. David Alan Gilbert / dgilbert@redhat.com / Manchester, UK
next prev parent reply other threads:[~2016-06-15 13:03 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-08 18:13 [Qemu-devel] [Qemu-devel [RFC] [WIP] v2] Keeping the Source side alive incase of network failure (Migration recovery from network failure) Md Haris Iqbal
2016-06-08 20:41 ` Eric Blake
2016-06-13 6:38 ` haris iqbal
2016-06-13 15:38 ` Eric Blake
2016-06-15 13:03 ` Dr. David Alan Gilbert [this message]
2016-06-15 13:10 ` Eric Blake
2016-06-15 13:02 ` 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=20160615130347.GF2272@work-vm \
--to=dgilbert@redhat.com \
--cc=eblake@redhat.com \
--cc=haris.phnx@gmail.com \
--cc=qemu-devel@nongnu.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).