From: Eric Blake <eblake@redhat.com>
To: haris iqbal <haris.phnx@gmail.com>
Cc: QEMU Developers <qemu-devel@nongnu.org>,
"Dr. David Alan Gilbert" <dgilbert@redhat.com>
Subject: Re: [Qemu-devel] [Qemu-devel [RFC] [WIP] v2] Keeping the Source side alive incase of network failure (Migration recovery from network failure)
Date: Mon, 13 Jun 2016 09:38:34 -0600 [thread overview]
Message-ID: <575ED37A.10004@redhat.com> (raw)
In-Reply-To: <CAE_WKMxDM62psrzY0HANJ5BDFB+o=ppZaRTE_D=tw=+kdGBnLw@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1372 bytes --]
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.
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 604 bytes --]
next prev parent reply other threads:[~2016-06-13 15:38 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 [this message]
2016-06-15 13:03 ` Dr. David Alan Gilbert
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=575ED37A.10004@redhat.com \
--to=eblake@redhat.com \
--cc=dgilbert@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).