mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 17:53:56 -06:00
vmstate: add no_migrate flag to VMStateDescription
This allows to easily tag devices as non-migratable, so any attempt to migrate a virtual machine with the device in question active will make migration fail. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
parent
03ff09580e
commit
2837c8ea1f
2 changed files with 2 additions and 0 deletions
1
hw/hw.h
1
hw/hw.h
|
@ -324,6 +324,7 @@ typedef struct VMStateSubsection {
|
|||
|
||||
struct VMStateDescription {
|
||||
const char *name;
|
||||
int unmigratable;
|
||||
int version_id;
|
||||
int minimum_version_id;
|
||||
int minimum_version_id_old;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue