]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: keep pre-migration domain state after failed migration
authorMartin Kletzander <mkletzan@redhat.com>
Thu, 6 Feb 2014 13:30:59 +0000 (14:30 +0100)
committerMartin Kletzander <mkletzan@redhat.com>
Fri, 7 Feb 2014 09:07:38 +0000 (10:07 +0100)
commit440a1aa508f7abec635a035158e9b37e179f2db2
tree3eaaeb745154f3a7941053e35b284d91dee95daa
parent630b645695ac87ad8a6f504ecac4196c3868f876
qemu: keep pre-migration domain state after failed migration

Couple of codepaths shared the same code which can be moved out to a
function and on one of such places, qemuMigrationConfirmPhase(), the
domain was resumed even if it wasn't running before the migration
started.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1057407

Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
src/qemu/qemu_domain.h
src/qemu/qemu_migration.c