]> xenbits.xensource.com Git - libvirt.git/commit
qemu: Split cleanup and error code in qemuMigrationRun
authorJiri Denemark <jdenemar@redhat.com>
Thu, 19 Oct 2017 13:09:25 +0000 (15:09 +0200)
committerJiri Denemark <jdenemar@redhat.com>
Mon, 23 Oct 2017 08:08:29 +0000 (10:08 +0200)
commitc1a643b68f34040dee75959824759d527472e3c9
treee0b082cf8f48acd61166c8c4dfcdcc4f6272fee5
parentf8ede9cc234e4d167eda7eccf68f9d02d3a65821
qemu: Split cleanup and error code in qemuMigrationRun

Let cleanup only do things common to both failure and success paths and
move error handling code inside the new "error" section.

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