mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-08 18:23:57 -06:00
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>
This commit is contained in:
parent
01d9442a88
commit
9231a01788
12 changed files with 17 additions and 17 deletions
|
@ -243,7 +243,7 @@ static const VMStateDescription xen_xenstore_vmstate = {
|
|||
.needed = xen_xenstore_is_needed,
|
||||
.pre_save = xen_xenstore_pre_save,
|
||||
.post_load = xen_xenstore_post_load,
|
||||
.fields = (VMStateField[]) {
|
||||
.fields = (const VMStateField[]) {
|
||||
VMSTATE_UINT8_ARRAY(req_data, XenXenstoreState,
|
||||
sizeof_field(XenXenstoreState, req_data)),
|
||||
VMSTATE_UINT8_ARRAY(rsp_data, XenXenstoreState,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue