Files
qemu/migration
Denis V. Lunev 68ed0f8c67 migration: fix inability to save VM after snapshot
The following sequence of operations fails:
    virsh start vm
    virsh snapshot-create vm
    virshh save vm --file file
with the following error
    error: Failed to save domain vm to file
    error: internal error: unable to execute QEMU command 'migrate':
    There's a migration process in progress

The problem is that qemu_savevm_state() calls migrate_init() which sets
migration state to MIGRATION_STATUS_SETUP and never cleaned it up.
This patch do the job.

Signed-off-by: Denis V. Lunev <den@openvz.org>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
CC: Juan Quintela <quintela@redhat.com>
CC: Amit Shah <amit.shah@redhat.com>
Message-Id: <1466003203-26263-1-git-send-email-den@openvz.org>
Signed-off-by: Amit Shah <amit.shah@redhat.com>
(cherry picked from commit 6dcf66681a)
Signed-off-by: Alexander Graf <agraf@suse.de>
2021-03-17 09:45:50 -06:00
..
2015-11-10 15:00:26 +01:00
2016-08-05 16:14:47 -05:00
2016-01-29 15:07:22 +00:00
2014-12-16 17:47:36 +05:30
2016-01-29 15:07:22 +00:00
2016-01-29 15:07:22 +00:00
2016-08-05 16:14:47 -05:00
2016-01-29 15:07:22 +00:00