mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
hw/misc: Constify VMState
Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20231221031652.119827-41-richard.henderson@linaro.org>
This commit is contained in:
parent
2a031ec751
commit
e4ea952fb0
83 changed files with 108 additions and 108 deletions
|
@ -1015,7 +1015,7 @@ static const VMStateDescription ivshmem_plain_vmsd = {
|
|||
.minimum_version_id = 0,
|
||||
.pre_load = ivshmem_pre_load,
|
||||
.post_load = ivshmem_post_load,
|
||||
.fields = (VMStateField[]) {
|
||||
.fields = (const VMStateField[]) {
|
||||
VMSTATE_PCI_DEVICE(parent_obj, IVShmemState),
|
||||
VMSTATE_UINT32(intrstatus, IVShmemState),
|
||||
VMSTATE_UINT32(intrmask, IVShmemState),
|
||||
|
@ -1069,7 +1069,7 @@ static const VMStateDescription ivshmem_doorbell_vmsd = {
|
|||
.minimum_version_id = 0,
|
||||
.pre_load = ivshmem_pre_load,
|
||||
.post_load = ivshmem_post_load,
|
||||
.fields = (VMStateField[]) {
|
||||
.fields = (const VMStateField[]) {
|
||||
VMSTATE_PCI_DEVICE(parent_obj, IVShmemState),
|
||||
VMSTATE_MSIX(parent_obj, IVShmemState),
|
||||
VMSTATE_UINT32(intrstatus, IVShmemState),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue