]> git.proxmox.com Git - mirror_qemu.git/commit
migration: switch from .vm_was_running to .vm_old_state
authorVladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>
Wed, 17 May 2023 12:37:51 +0000 (15:37 +0300)
committerJuan Quintela <quintela@redhat.com>
Thu, 1 Jun 2023 23:03:19 +0000 (01:03 +0200)
commitf4584076fc318bb4ac762e3c09ff3544938fed5b
tree2edc3afdd72f63bdfdc5bff6d426d2e6919e9516
parente76005a081d08d1e42d98811fba983c59b3f736b
migration: switch from .vm_was_running to .vm_old_state

No logic change here, only refactoring. That's a preparation for next
commit where we finally restore the stopped vm state on migration
failure or cancellation.

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Message-Id: <20230517123752.21615-5-vsementsov@yandex-team.ru>
Signed-off-by: Juan Quintela <quintela@redhat.com>
migration/migration.c
migration/migration.h