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

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



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 redhat com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


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