]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: blockjob: Don't stop processing the finished job early
authorPeter Krempa <pkrempa@redhat.com>
Tue, 26 Nov 2019 13:29:42 +0000 (14:29 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 27 Nov 2019 14:59:33 +0000 (15:59 +0100)
commit0cb3061943a891dc5c5429ac6a332eb8b2c14300
tree222bc26f40532778119989ada3ceaee69a2e5dc3
parent5b29c7dc276da9d36eae4361d20d3095db262baa
qemu: blockjob: Don't stop processing the finished job early

Both failure to refresh and to dismiss the job are very unlikely but if
they happen there's not much we can do about the blockjob.

The concluded job handlers treat it as if the job failed if we don't
update the state to 'QEMU_BLOCKJOB_STATE_COMPLETED' which is probably
the safest thing to do here.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Cole Robinson <crobinso@redhat.com>
src/qemu/qemu_blockjob.c