qemu_migration: Properly wait for migration to be canceled
qemu_migration: Properly wait for migration to be canceled

In my commit v8.7.0-57-g2d7b22b561 I attempted to make
qemuMigrationSrcCancel synchronous, but failed. When we are canceling
migration after some kind of error which is detected in
in qemuMigrationSrcWaitForCompletion, jobData->status will be set to
VIR_DOMAIN_JOB_STATUS_FAILED regardless on QEMU state. So instead of
relying on the translated jobData->status in qemuMigrationSrcIsCanceled
we need to check the migration status we get from QEMU MIGRATION event.

Signed-off-by: Jiri Denemark <62bdf77dc47919a4d59a91822129d14633cfca81@redhat.com>
Reviewed-by: Ján Tomko <4cab11cfb98d3c937327354a78eb07dbb6ee2bc6@redhat.com>

libvirt/libvirt,jfehlig/libvirt,olafhering/libvirt,zippy2/libvirt,zippy2/libvirt,libvirt/libvirt,olafhering/libvirt,zippy2/libvirt,jfehlig/libvirt,libvirt/libvirt,libvirt/libvirt,jfehlig/libvirt,olafhering/libvirt,jfehlig/libvirt,zippy2/libvirt,olafhering/libvirt