]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu_driver: unlink new domain cfg file when rollback
authorChen Hanxiao <chenhanxiao@gmail.com>
Fri, 28 Oct 2016 00:45:41 +0000 (08:45 +0800)
committerMichal Privoznik <mprivozn@redhat.com>
Fri, 28 Oct 2016 11:13:05 +0000 (04:13 -0700)
commit3b782ce57235f8e3aa2f948d7e99bfea21e2a877
tree960e487a0b058fff38c39b3984ab6dce6a13672c
parent65462b2944d761eb185cb6d10db9ccf026bea36b
qemu_driver: unlink new domain cfg file when rollback

If we failed to unlink old dom cfg file, we goto rollback.
But inside rollback, we fogot to unlink the new dom cfg file.
This patch fixes this issue.

Signed-off-by: Chen Hanxiao <chenhanxiao@gmail.com>
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
src/qemu/qemu_driver.c