aboutsummaryrefslogtreecommitdiff
path: root/hw/sparc
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2023-12-21 14:16:35 +1100
committerRichard Henderson <richard.henderson@linaro.org>2023-12-30 07:38:06 +1100
commit735e354a43996f1c8c2972ca9e21500789787b92 (patch)
treedaa034ad63aadb7269e8c7026ae7690f51662dca /hw/sparc
parentaf10fff2a3ae50d0337269aa1015591cfd380005 (diff)
downloadqemu-735e354a43996f1c8c2972ca9e21500789787b92.zip
qemu-735e354a43996f1c8c2972ca9e21500789787b92.tar.gz
qemu-735e354a43996f1c8c2972ca9e21500789787b92.tar.bz2
hw/sparc: Constify VMState
Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20231221031652.119827-55-richard.henderson@linaro.org>
Diffstat (limited to 'hw/sparc')
-rw-r--r--hw/sparc/sun4m_iommu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/sparc/sun4m_iommu.c b/hw/sparc/sun4m_iommu.c
index eb40f93..06703b1 100644
--- a/hw/sparc/sun4m_iommu.c
+++ b/hw/sparc/sun4m_iommu.c
@@ -331,7 +331,7 @@ static const VMStateDescription vmstate_iommu = {
.name = "iommu",
.version_id = 2,
.minimum_version_id = 2,
- .fields = (VMStateField[]) {
+ .fields = (const VMStateField[]) {
VMSTATE_UINT32_ARRAY(regs, IOMMUState, IOMMU_NREGS),
VMSTATE_UINT64(iostart, IOMMUState),
VMSTATE_END_OF_LIST()