]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Set correct job status when qemuMigrationRun fails
authorJiri Denemark <jdenemar@redhat.com>
Thu, 19 Oct 2017 12:26:24 +0000 (14:26 +0200)
committerJiri Denemark <jdenemar@redhat.com>
Mon, 23 Oct 2017 08:08:29 +0000 (10:08 +0200)
commit55ac6a5d44a2fbd7e93d995930d6071030c907ba
tree4055fd20d1073a9bdd5747f78a27e6a14f57d4c4
parent73a352263c1745da8a71f1a636ff805ad3e1d249
qemu: Set correct job status when qemuMigrationRun fails

Instead of enumerating all states which need to be turned into
QEMU_DOMAIN_JOB_STATUS_FAILED (and failing to add all of them), it's
better to mention just the one which needs to be left alone.

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: John Ferlan <jferlan@redhat.com>
src/qemu/qemu_migration.c