mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-07-28 21:03:54 -06:00
migration: Constify migration_properties
Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Tested-by: Lei Yang <leiyang@redhat.com> Link: https://lore.kernel.org/r/20241218134251.4724-2-richard.henderson@linaro.org Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
8032c78e55
commit
b44da016a7
2 changed files with 2 additions and 2 deletions
|
@ -85,7 +85,7 @@
|
||||||
#define DEFAULT_MIGRATE_VCPU_DIRTY_LIMIT_PERIOD 1000 /* milliseconds */
|
#define DEFAULT_MIGRATE_VCPU_DIRTY_LIMIT_PERIOD 1000 /* milliseconds */
|
||||||
#define DEFAULT_MIGRATE_VCPU_DIRTY_LIMIT 1 /* MB/s */
|
#define DEFAULT_MIGRATE_VCPU_DIRTY_LIMIT 1 /* MB/s */
|
||||||
|
|
||||||
Property migration_properties[] = {
|
const Property migration_properties[] = {
|
||||||
DEFINE_PROP_BOOL("store-global-state", MigrationState,
|
DEFINE_PROP_BOOL("store-global-state", MigrationState,
|
||||||
store_global_state, true),
|
store_global_state, true),
|
||||||
DEFINE_PROP_BOOL("send-configuration", MigrationState,
|
DEFINE_PROP_BOOL("send-configuration", MigrationState,
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
|
|
||||||
/* migration properties */
|
/* migration properties */
|
||||||
|
|
||||||
extern Property migration_properties[];
|
extern const Property migration_properties[];
|
||||||
|
|
||||||
/* capabilities */
|
/* capabilities */
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue