]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Don't jump to endjob if no job was even started
authorMichal Privoznik <mprivozn@redhat.com>
Tue, 31 Jan 2012 15:59:02 +0000 (16:59 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Wed, 1 Feb 2012 07:42:47 +0000 (08:42 +0100)
commitbb311b3458a9982d7535a4b0316de2e8ba8d9c26
treeb915b17fafdca819a7694c109092bb944bcf1aef
parent53e23e99a9d9c259d61f4a6628c880889b1e8c9b
qemu: Don't jump to endjob if no job was even started

In qemuDomainShutdownFlags if we try to use guest agent,
which has error or is not configured, we jump go endjob
label even if we haven't started any job yet. This may
lead to the daemon crash:
1) virsh shutdown --mode agent on a domain without agent configured
2) wait until domain quits
3) virsh edit
src/qemu/qemu_driver.c