]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Differentiate error codes when VM exits in qemuDomainDetectVcpuPids
authorPeter Krempa <pkrempa@redhat.com>
Fri, 5 Feb 2016 12:03:33 +0000 (13:03 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 8 Feb 2016 08:51:34 +0000 (09:51 +0100)
commit207e17031abfe061f638816b2c7e8e3e19d48486
tree71bbd10953f6ca4b97338e620cc9d48811a287c8
parent7938b533d5e89cdc1f3e9934313a271e443e52c5
qemu: Differentiate error codes when VM exits in qemuDomainDetectVcpuPids

Some callers will need to behave differently when the detection failed
and when the VM crashed during the redetection. Return -2 if it crashed.
src/qemu/qemu_domain.c