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/kvm/xen_overlay.c | |
parent | 01d9442a889f545a41151066f6a577822166d21e (diff) |
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/kvm/xen_overlay.c')
-rw-r--r-- | hw/i386/kvm/xen_overlay.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/i386/kvm/xen_overlay.c b/hw/i386/kvm/xen_overlay.c index 39fda1b72c..526f7a6077 100644 --- a/hw/i386/kvm/xen_overlay.c +++ b/hw/i386/kvm/xen_overlay.c @@ -139,7 +139,7 @@ static const VMStateDescription xen_overlay_vmstate = { .needed = xen_overlay_is_needed, .pre_save = xen_overlay_pre_save, .post_load = xen_overlay_post_load, - .fields = (VMStateField[]) { + .fields = (const VMStateField[]) { VMSTATE_UINT64(shinfo_gpa, XenOverlayState), VMSTATE_BOOL(long_mode, XenOverlayState), VMSTATE_END_OF_LIST() |