diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2024-12-18 07:42:28 -0600 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2024-12-19 19:33:37 +0100 |
commit | b44da016a7e86f0c8fffddb10ca10d2eaacdceac (patch) | |
tree | 39915ebf09c71127fa1ee2d8bbf6f9aa2600a95c | |
parent | 8032c78e556cd0baec111740a6c636863f9bd7c8 (diff) | |
download | qemu-b44da016a7e86f0c8fffddb10ca10d2eaacdceac.zip qemu-b44da016a7e86f0c8fffddb10ca10d2eaacdceac.tar.gz qemu-b44da016a7e86f0c8fffddb10ca10d2eaacdceac.tar.bz2 |
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>
-rw-r--r-- | migration/options.c | 2 | ||||
-rw-r--r-- | migration/options.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/migration/options.c b/migration/options.c index ad8d698..24cc847 100644 --- a/migration/options.c +++ b/migration/options.c @@ -85,7 +85,7 @@ #define DEFAULT_MIGRATE_VCPU_DIRTY_LIMIT_PERIOD 1000 /* milliseconds */ #define DEFAULT_MIGRATE_VCPU_DIRTY_LIMIT 1 /* MB/s */ -Property migration_properties[] = { +const Property migration_properties[] = { DEFINE_PROP_BOOL("store-global-state", MigrationState, store_global_state, true), DEFINE_PROP_BOOL("send-configuration", MigrationState, diff --git a/migration/options.h b/migration/options.h index 79084ee..a360f93 100644 --- a/migration/options.h +++ b/migration/options.h @@ -20,7 +20,7 @@ /* migration properties */ -extern Property migration_properties[]; +extern const Property migration_properties[]; /* capabilities */ |