qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] ping Re: [PATCH 3/4] savevm: fix savevm after migration


From: Vladimir Sementsov-Ogievskiy
Subject: [Qemu-devel] ping Re: [PATCH 3/4] savevm: fix savevm after migration
Date: Tue, 25 Apr 2017 17:22:12 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0

29.03.2017 18:53, Paolo Bonzini wrote:

On 29/03/2017 17:29, Dr. David Alan Gilbert wrote:
'abort' is not very good too I think. migration is completed, nothing to
abort.. (may be successful migration to file for suspend, some kind of
vm cloning, etc)
There is already migrate_cancel.  Does it make sense to make it
reactivate fds if migration is completed?
It's potentially racy to do that.
Imagine if your migration is almost finished and you issue a migrate_cancel,
what happens?
Maybe it cancelled it.
Maybe it just completed in time - and you really better not be accessing
the disks on the source unless you're sure the destination isn't running.
If you want to avoid races, you probably have to use -S anyway on the
destination and do more handshaking between source and destination.  But
yes, just to be safe it'd be better to add a new flag (-f for HMP,
'cancel-completed-migration':true for QMP or something like that).

Paolo

Looks like we haven't final conclusion on this (solve problems, noted in patches 2 and 3). Are someone working on this now?

--
Best regards,
Vladimir




reply via email to

[Prev in Thread] Current Thread [Next in Thread]