]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
qemu: Ignore shutdown event from destroyed domain
authorJiri Denemark <jdenemar@redhat.com>
Wed, 7 Dec 2011 11:52:59 +0000 (12:52 +0100)
committerJiri Denemark <jdenemar@redhat.com>
Wed, 7 Dec 2011 13:45:22 +0000 (14:45 +0100)
commit97652044af5f2c70e2bfbddbd59eb047bf0a82fa
tree2309f563d9d584685cffd3f16f30d34072911797
parentcc17f09246212efff27d6f48cae24ee09d1b5eab
qemu: Ignore shutdown event from destroyed domain

During virDomainDestroy, QEMU may emit SHUTDOWN event as a response to
SIGTERM and since domain object is still locked, the event is processed
after the domain is destroyed. We need to ignore this event in such case
to avoid changing domain state from shutoff to shutdown.
src/qemu/qemu_process.c