diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2023-12-21 14:16:02 +1100 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2023-12-29 11:17:30 +1100 |
commit | c559ba5720376e39a05c75e52e67d5998d2b1422 (patch) | |
tree | aea3700eb03415d74ae2a7467b9f16a7b64a4f89 /hw/acpi/vmgenid.c | |
parent | d19630d20ce909e26b165b0db6cbeea8cd84bdb3 (diff) |
hw/acpi: Constify VMState
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20231221031652.119827-22-richard.henderson@linaro.org>
Diffstat (limited to 'hw/acpi/vmgenid.c')
-rw-r--r-- | hw/acpi/vmgenid.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/acpi/vmgenid.c b/hw/acpi/vmgenid.c index a39315c1b3..e63c8af4c3 100644 --- a/hw/acpi/vmgenid.c +++ b/hw/acpi/vmgenid.c @@ -178,7 +178,7 @@ static const VMStateDescription vmstate_vmgenid = { .version_id = 1, .minimum_version_id = 1, .post_load = vmgenid_post_load, - .fields = (VMStateField[]) { + .fields = (const VMStateField[]) { VMSTATE_UINT8_ARRAY(vmgenid_addr_le, VmGenIdState, sizeof(uint64_t)), VMSTATE_END_OF_LIST() }, |