Re: [PATCH] Explicitly set VM state to paused after migration completes

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

 



On 06/02/2011 09:42 AM, Daniel P. Berrange wrote:
> In v3 migration, once migration is completed, the VM needs
> to be left in a paused state until after Finish3 has been
> executed on the target. Only then will the VM be killed
> off. When using non-JSON QEMU monitor though, we don't
> receive any 'STOP' event from QEMU, so we need to manually
> set our state offline & thus release lock manager leases.
> It doesn't hurt to run this on the JSON case too, just in
> case the event gets lost somehow
> 
> * src/qemu/qemu_migration.c: Explicitly set VM state to
>   paused when migration completes
> ---
>  src/qemu/qemu_migration.c |   28 +++++++++++++++++++++++++++-
>  1 files changed, 27 insertions(+), 1 deletions(-)

ACK.

-- 
Eric Blake   eblake@xxxxxxxxxx    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]