]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Finish domain shutdown on reconnect
authorJiri Denemark <jdenemar@redhat.com>
Tue, 27 Sep 2011 12:56:17 +0000 (14:56 +0200)
committerJiri Denemark <jdenemar@redhat.com>
Wed, 28 Sep 2011 08:03:00 +0000 (10:03 +0200)
commitcc0e4e8ddb3e2bb92ee013c293cdb12efea79a84
tree952fe9c32216dd4d1a46840a9483e87893dcd011
parentc20b7c9826b05f17f99c816cfb47dcf511c0114d
qemu: Finish domain shutdown on reconnect

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