mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 08:43:55 -06:00
migration: mode parameter
Create a mode migration parameter that can be used to select alternate migration algorithms. The default mode is normal, representing the current migration algorithm, and does not need to be explicitly set. No functional change until a new mode is added, except that the mode is shown by the 'info migrate' command. Signed-off-by: Steve Sistare <steven.sistare@oracle.com> Reviewed-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Juan Quintela <quintela@redhat.com> Message-ID: <1698263069-406971-2-git-send-email-steven.sistare@oracle.com>
This commit is contained in:
parent
3e5f3bcdc2
commit
eea1e5c9d6
7 changed files with 74 additions and 3 deletions
|
@ -673,6 +673,20 @@ const PropertyInfo qdev_prop_multifd_compression = {
|
|||
.set_default_value = qdev_propinfo_set_default_value_enum,
|
||||
};
|
||||
|
||||
/* --- MigMode --- */
|
||||
|
||||
QEMU_BUILD_BUG_ON(sizeof(MigMode) != sizeof(int));
|
||||
|
||||
const PropertyInfo qdev_prop_mig_mode = {
|
||||
.name = "MigMode",
|
||||
.description = "mig_mode values, "
|
||||
"normal",
|
||||
.enum_table = &MigMode_lookup,
|
||||
.get = qdev_propinfo_get_enum,
|
||||
.set = qdev_propinfo_set_enum,
|
||||
.set_default_value = qdev_propinfo_set_default_value_enum,
|
||||
};
|
||||
|
||||
/* --- Reserved Region --- */
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue