qemu: blockjob: Fix deadlock when terminating job with invalid data
qemu: blockjob: Fix deadlock when terminating job with invalid data

We must exit the monitor prior to refusing other work, otherwise the VM
object will become unusable.

This bug was introduced in commit v5.5.0-244-gc412383796 but thankfully
the code path was not excercised without QEMU_CAPS_BLOCKDEV.

Signed-off-by: Peter Krempa <2cf5c04c61aa466e4a47bfedc747d17279c72ffc@redhat.com>
Reviewed-by: Cole Robinson <7cd45ff6ad1fb7cf556a02797d774247851499f8@redhat.com>

jardasgit/libvirt,fabianfreyer/libvirt,fabianfreyer/libvirt,libvirt/libvirt,nertpinx/libvirt,zippy2/libvirt,crobinso/libvirt,zippy2/libvirt,libvirt/libvirt,zippy2/libvirt,olafhering/libvirt,jardasgit/libvirt,libvirt/libvirt,zippy2/libvirt,crobinso/libvirt,jardasgit/libvirt,crobinso/libvirt,fabianfreyer/libvirt,nertpinx/libvirt,nertpinx/libvirt,jfehlig/libvirt,olafhering/libvirt,jardasgit/libvirt,crobinso/libvirt,fabianfreyer/libvirt,nertpinx/libvirt,fabianfreyer/libvirt,jfehlig/libvirt,nertpinx/libvirt,jardasgit/libvirt,jfehlig/libvirt,jfehlig/libvirt,olafhering/libvirt,olafhering/libvirt,libvirt/libvirt