summary refs log tree commit diff stats
path: root/hw/pci-host/i440fx.c
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2023-12-21 14:16:27 +1100
committerRichard Henderson <richard.henderson@linaro.org>2023-12-30 07:38:06 +1100
commite2bd53a38c82b46bc34265c9f46c84890313a8da (patch)
tree1347ac491c3eeb1c40afa710c9264e6a3bbf1e41 /hw/pci-host/i440fx.c
parentf026c578eb1a07c0a62caf8e18aa51c6872e9ff2 (diff)
downloadfocaccia-qemu-e2bd53a38c82b46bc34265c9f46c84890313a8da.tar.gz
focaccia-qemu-e2bd53a38c82b46bc34265c9f46c84890313a8da.zip
hw/pci-host: Constify VMState
Tested-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20231221031652.119827-47-richard.henderson@linaro.org>
Diffstat (limited to 'hw/pci-host/i440fx.c')
-rw-r--r--hw/pci-host/i440fx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/pci-host/i440fx.c b/hw/pci-host/i440fx.c
index 653cc3f149..4f0a0438d7 100644
--- a/hw/pci-host/i440fx.c
+++ b/hw/pci-host/i440fx.c
@@ -125,7 +125,7 @@ static const VMStateDescription vmstate_i440fx = {
     .version_id = 3,
     .minimum_version_id = 3,
     .post_load = i440fx_post_load,
-    .fields = (VMStateField[]) {
+    .fields = (const VMStateField[]) {
         VMSTATE_PCI_DEVICE(parent_obj, PCII440FXState),
         /* Used to be smm_enabled, which was basically always zero because
          * SeaBIOS hardly uses SMM.  SMRAM is now handled by CPU code.