aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2024-12-13 14:49:20 +0000
committerRichard Henderson <richard.henderson@linaro.org>2024-12-15 12:54:12 -0600
commita1eeba514f6b122dafb519211d4ec43f5e993f47 (patch)
treec5489c8151d5cff71b1841aed91e6f7b350ca7d5
parentf3ef448ac535cde957b00f0b4468dd259138bac7 (diff)
downloadqemu-a1eeba514f6b122dafb519211d4ec43f5e993f47.zip
qemu-a1eeba514f6b122dafb519211d4ec43f5e993f47.tar.gz
qemu-a1eeba514f6b122dafb519211d4ec43f5e993f47.tar.bz2
target/s390x: Constify all Property
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
-rw-r--r--target/s390x/cpu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/s390x/cpu.c b/target/s390x/cpu.c
index adb2750..4702761 100644
--- a/target/s390x/cpu.c
+++ b/target/s390x/cpu.c
@@ -309,7 +309,7 @@ static const gchar *s390_gdb_arch_name(CPUState *cs)
return "s390:64-bit";
}
-static Property s390x_cpu_properties[] = {
+static const Property s390x_cpu_properties[] = {
#if !defined(CONFIG_USER_ONLY)
DEFINE_PROP_UINT32("core-id", S390CPU, env.core_id, 0),
DEFINE_PROP_INT32("socket-id", S390CPU, env.socket_id, -1),