[libvirt] [PATCH] qemu: Finish domain shutdown on reconnect

Eric Blake eblake at redhat.com
Tue Sep 27 15:23:03 UTC 2011


On 09/27/2011 07:04 AM, Jiri Denemark wrote:
> If a domain started with -no-shutdown shuts down while libvirtd is not
> running, it will be seen as paused when libvirtd reconnects to it. Use
> the paused reason to detect if a domain was stopped because of shutdown
> and finish the process just as if a SHUTDOWN event is delivered from
> qemu.
> ---
>   src/qemu/qemu_process.c |   50 ++++++++++++++++++++++++++++++++--------------
>   1 files changed, 35 insertions(+), 15 deletions(-)

ACK.

-- 
Eric Blake   eblake at redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org




More information about the libvir-list mailing list