]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Properly detect crash of a rebooted domain
authorJiri Denemark <jdenemar@redhat.com>
Tue, 13 Sep 2011 16:48:13 +0000 (18:48 +0200)
committerJiri Denemark <jdenemar@redhat.com>
Fri, 16 Sep 2011 15:18:20 +0000 (17:18 +0200)
commitc2e9fab27381d1eed581648ca2f4a78ee2818f5b
treedc66a890d7ce0999298092d529c19161abde6fc3
parent3acb664c5622a6d647db1f63333b4f65153f063b
qemu: Properly detect crash of a rebooted domain

When a domain is rebooted using libvirt API, we use fake reboot
consisting of shutting down and resetting the domain. Thus we see a
SHUTDOWN event and set gotShutdown flag. But we never reset it back and
if the domain crashes after it was rebooted this way, we consider it was
a normal shutdown and not a crash.
src/qemu/qemu_process.c