diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2023-12-21 14:16:12 +1100 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2023-12-29 11:17:30 +1100 |
commit | 9231a01788af7c3d1156186ee9f073cf9804c8a7 (patch) | |
tree | a45f811c3d35a4673cbc7dfcc873dc82a1cb9588 /hw/i386/xen/xen_platform.c | |
parent | 01d9442a889f545a41151066f6a577822166d21e (diff) | |
download | qemu-9231a01788af7c3d1156186ee9f073cf9804c8a7.zip qemu-9231a01788af7c3d1156186ee9f073cf9804c8a7.tar.gz qemu-9231a01788af7c3d1156186ee9f073cf9804c8a7.tar.bz2 |
hw/i386: Constify VMState
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Zhao Liu <zhao1.liu@intel.com>
Message-Id: <20231221031652.119827-32-richard.henderson@linaro.org>
Diffstat (limited to 'hw/i386/xen/xen_platform.c')
-rw-r--r-- | hw/i386/xen/xen_platform.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/i386/xen/xen_platform.c b/hw/i386/xen/xen_platform.c index ef7d3fc..708488a 100644 --- a/hw/i386/xen/xen_platform.c +++ b/hw/i386/xen/xen_platform.c @@ -537,7 +537,7 @@ static const VMStateDescription vmstate_xen_platform = { .version_id = 4, .minimum_version_id = 4, .post_load = xen_platform_post_load, - .fields = (VMStateField[]) { + .fields = (const VMStateField[]) { VMSTATE_PCI_DEVICE(parent_obj, PCIXenPlatformState), VMSTATE_UINT8(flags, PCIXenPlatformState), VMSTATE_END_OF_LIST() |