]> xenbits.xensource.com Git - libvirt.git/commit
qemu: Fix shutoff reason when domain crashes
authorJiri Denemark <jdenemar@redhat.com>
Tue, 13 Sep 2011 16:35:21 +0000 (18:35 +0200)
committerJiri Denemark <jdenemar@redhat.com>
Fri, 16 Sep 2011 15:14:39 +0000 (17:14 +0200)
commit3acb664c5622a6d647db1f63333b4f65153f063b
tree51b0e040a58a92cf9eee2621985d1ca012742cef
parent018f2e5c9f66a907786ce791aa4041fd3a7b0c2f
qemu: Fix shutoff reason when domain crashes

Commit 4454a9efc728b91e791b1f14c26ea23a19d57f48 changed shutoff reason
from VIR_DOMAIN_SHUTOFF_CRASHED to VIR_DOMAIN_SHUTOFF_FAILED in case we
see an unexpected EOF on monitor connection. But FAILED reason is
dedicated for domains that fail to start. CRASHED reason is the right
one to use in this situation.
src/qemu/qemu_process.c