[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 0/5] Restore vmstate on cancelled/failed migration
|
From: |
Vladimir Sementsov-Ogievskiy |
|
Subject: |
[PATCH 0/5] Restore vmstate on cancelled/failed migration |
|
Date: |
Wed, 17 May 2023 15:37:47 +0300 |
Hi all.
The problem I want to solve is that guest-panicked state may be lost
when migration is failed (or cancelled) after source stop.
Still, I try to go further and restore all possible paused states in the
same way. The key patch is the last one and others are refactoring and
preparation.
Vladimir Sementsov-Ogievskiy (5):
runstate: add runstate_get()
migration: never fail in global_state_store()
runstate: drop unused runstate_store()
migration: switch from .vm_was_running to .vm_old_state
migration: restore vmstate on migration failure
include/migration/global_state.h | 2 +-
include/sysemu/runstate.h | 2 +-
migration/global_state.c | 23 +++++++------
migration/migration.c | 56 +++++++++++++++-----------------
migration/migration.h | 9 +++--
migration/savevm.c | 6 +---
softmmu/runstate.c | 25 +++++++-------
7 files changed, 59 insertions(+), 64 deletions(-)
--
2.34.1
- [PATCH 0/5] Restore vmstate on cancelled/failed migration,
Vladimir Sementsov-Ogievskiy <=