diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2023-12-21 14:16:17 +1100 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2023-12-29 11:17:30 +1100 |
commit | 09c6ac6d8fedb95d960163ab1f4f6ee9bb405ce8 (patch) | |
tree | 7cccffa7a93130b304a17e8e2db4d11a2bf8a1ae /hw/ipmi/smbus_ipmi.c | |
parent | 8913d05dc4d28d59c70a4d9333767fa4e40adc93 (diff) |
hw/ipmi: Constify VMState
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20231221031652.119827-37-richard.henderson@linaro.org>
Diffstat (limited to 'hw/ipmi/smbus_ipmi.c')
-rw-r--r-- | hw/ipmi/smbus_ipmi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/ipmi/smbus_ipmi.c b/hw/ipmi/smbus_ipmi.c index d0991ab7f9..56865df7db 100644 --- a/hw/ipmi/smbus_ipmi.c +++ b/hw/ipmi/smbus_ipmi.c @@ -299,7 +299,7 @@ static const VMStateDescription vmstate_smbus_ipmi = { .name = TYPE_SMBUS_IPMI, .version_id = 1, .minimum_version_id = 1, - .fields = (VMStateField[]) { + .fields = (const VMStateField[]) { VMSTATE_SMBUS_DEVICE(parent, SMBusIPMIDevice), VMSTATE_UINT8(waiting_rsp, SMBusIPMIDevice), VMSTATE_UINT32(outlen, SMBusIPMIDevice), |