]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
qemu: processBlockJob: Don't unlock @vm twice
authorPeter Krempa <pkrempa@redhat.com>
Mon, 30 Mar 2015 09:26:18 +0000 (11:26 +0200)
committerDaniel Veillard <veillard@redhat.com>
Tue, 31 Mar 2015 00:36:10 +0000 (08:36 +0800)
commit6b6c4ab8a6d2096bd5f50d2ae9b0a929fbaaf076
tree1457bc5debabc43dde547d91dabdd611dedb0d7a
parent3c6a72d5376732efd8effb4a0a419211c0eb0659
qemu: processBlockJob: Don't unlock @vm twice

Commit 1a92c719 moved code to handle block job events to a different
function that is executed in a separate thread. The caller of
processBlockJob handles locking and unlocking of @vm, so the we should
not do it in the function itself.
src/qemu/qemu_driver.c