diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2023-12-21 14:16:29 +1100 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2023-12-30 07:38:06 +1100 |
commit | a2c2fe57c2442ea3f7fe78a1dd8770b279b5dce6 (patch) | |
tree | 273fea8d1160ab223c2904fa56ade09ca8dd2134 /hw/riscv | |
parent | 078ddbc93655af646c40f0ef0f7ca35343535128 (diff) | |
download | qemu-a2c2fe57c2442ea3f7fe78a1dd8770b279b5dce6.zip qemu-a2c2fe57c2442ea3f7fe78a1dd8770b279b5dce6.tar.gz qemu-a2c2fe57c2442ea3f7fe78a1dd8770b279b5dce6.tar.bz2 |
hw/riscv: Constify VMState
Acked-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20231221031652.119827-49-richard.henderson@linaro.org>
Diffstat (limited to 'hw/riscv')
-rw-r--r-- | hw/riscv/virt-acpi-build.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/riscv/virt-acpi-build.c b/hw/riscv/virt-acpi-build.c index 7331248..d3bfaf5 100644 --- a/hw/riscv/virt-acpi-build.c +++ b/hw/riscv/virt-acpi-build.c @@ -374,7 +374,7 @@ static const VMStateDescription vmstate_virt_acpi_build = { .name = "virt_acpi_build", .version_id = 1, .minimum_version_id = 1, - .fields = (VMStateField[]) { + .fields = (const VMStateField[]) { VMSTATE_BOOL(patched, AcpiBuildState), VMSTATE_END_OF_LIST() }, |