mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 17:23:56 -06:00
hw/display: Constify VMState
Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20231221031652.119827-27-richard.henderson@linaro.org>
This commit is contained in:
parent
2f6cab053f
commit
f0613160d2
27 changed files with 45 additions and 45 deletions
|
@ -1210,7 +1210,7 @@ static const VMStateDescription vmstate_vmware_vga_internal = {
|
|||
.version_id = 0,
|
||||
.minimum_version_id = 0,
|
||||
.post_load = vmsvga_post_load,
|
||||
.fields = (VMStateField[]) {
|
||||
.fields = (const VMStateField[]) {
|
||||
VMSTATE_INT32_EQUAL(new_depth, struct vmsvga_state_s, NULL),
|
||||
VMSTATE_INT32(enable, struct vmsvga_state_s),
|
||||
VMSTATE_INT32(config, struct vmsvga_state_s),
|
||||
|
@ -1235,7 +1235,7 @@ static const VMStateDescription vmstate_vmware_vga = {
|
|||
.name = "vmware_vga",
|
||||
.version_id = 0,
|
||||
.minimum_version_id = 0,
|
||||
.fields = (VMStateField[]) {
|
||||
.fields = (const VMStateField[]) {
|
||||
VMSTATE_PCI_DEVICE(parent_obj, struct pci_vmsvga_state_s),
|
||||
VMSTATE_STRUCT(chip, struct pci_vmsvga_state_s, 0,
|
||||
vmstate_vmware_vga_internal, struct vmsvga_state_s),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue