]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: call endjob in RevertToSnapshot
authorJincheng Miao <jmiao@redhat.com>
Wed, 27 Aug 2014 02:10:33 +0000 (10:10 +0800)
committerEric Blake <eblake@redhat.com>
Wed, 27 Aug 2014 03:11:16 +0000 (21:11 -0600)
commit03b994fac0434c08cca13f51c3980c1b1d218047
tree621d4da43dd3031b484f5a05f32c4f9c399d6787
parentb259e459b9d424fb9e176642e42c0a531fe3d7ee
qemu: call endjob in RevertToSnapshot

In qemuDomainRevertToSnapshot(), it will check snap->def->state.
But when the state is PMSUSPENDED/NOSTATE/BLOCKED, it forgets to
call qemuDomainObjEndJob.

https://bugzilla.redhat.com/show_bug.cgi?id=1134154
Bug introduced in commit 1e833899.

Signed-off-by: Jincheng Miao <jmiao@redhat.com>
Signed-off-by: Eric Blake <eblake@redhat.com>
src/qemu/qemu_driver.c