diff options
| author | Richard Henderson <richard.henderson@linaro.org> | 2024-12-13 14:44:24 +0000 |
|---|---|---|
| committer | Richard Henderson <richard.henderson@linaro.org> | 2024-12-15 12:54:02 -0600 |
| commit | 032c2ec4ee7e34e80924b3fdc970e63ff3498dc3 (patch) | |
| tree | f77da6b695939ba686e13398f4f6894b375d7569 | |
| parent | ea1143358fa8fa6b92ad5a466e26d66a8e22b78f (diff) | |
| download | focaccia-qemu-032c2ec4ee7e34e80924b3fdc970e63ff3498dc3.tar.gz focaccia-qemu-032c2ec4ee7e34e80924b3fdc970e63ff3498dc3.zip | |
target/i386: Constify all Property
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
| -rw-r--r-- | target/i386/cpu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/target/i386/cpu.c b/target/i386/cpu.c index 305f2a41cf..5253399459 100644 --- a/target/i386/cpu.c +++ b/target/i386/cpu.c @@ -5384,7 +5384,7 @@ static X86CPUVersion x86_cpu_model_resolve_version(const X86CPUModel *model) return v; } -static Property max_x86_cpu_properties[] = { +static const Property max_x86_cpu_properties[] = { DEFINE_PROP_BOOL("migratable", X86CPU, migratable, true), DEFINE_PROP_BOOL("host-cache-info", X86CPU, cache_info_passthrough, false), DEFINE_PROP_END_OF_LIST() @@ -8407,7 +8407,7 @@ void x86_update_hflags(CPUX86State *env) env->hflags = hflags; } -static Property x86_cpu_properties[] = { +static const Property x86_cpu_properties[] = { #ifdef CONFIG_USER_ONLY /* apic_id = 0 by default for *-user, see commit 9886e834 */ DEFINE_PROP_UINT32("apic-id", X86CPU, apic_id, 0), |