]> git.proxmox.com Git - mirror_qemu.git/commit - migration/migration.c
migration: preserve suspended for bg_migration
authorSteve Sistare <steven.sistare@oracle.com>
Wed, 3 Jan 2024 20:05:37 +0000 (12:05 -0800)
committerPeter Xu <peterx@redhat.com>
Thu, 4 Jan 2024 01:52:42 +0000 (09:52 +0800)
commit49a5020697001eb96693e8a289c13b89149c7fef
tree16f7cf6b05c99400fea785c48e80ac0a7faf702f
parent58b105703e86c1721d1a4cb9f6aaaca49c82145e
migration: preserve suspended for bg_migration

Do not wake a suspended guest during bg_migration, and restore the prior
state at finish rather than unconditionally running.  Allow the additional
state transitions that occur.

Signed-off-by: Steve Sistare <steven.sistare@oracle.com>
Reviewed-by: Fabiano Rosas <farosas@suse.de>
Reviewed-by: Peter Xu <peterx@redhat.com>
Link: https://lore.kernel.org/r/1704312341-66640-9-git-send-email-steven.sistare@oracle.com
Signed-off-by: Peter Xu <peterx@redhat.com>
migration/migration.c
system/runstate.c