mirror of
https://github.com/mii443/qemu.git
synced 2025-12-16 17:18:49 +00:00
hw/input: Constify VMState
Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20231221031652.119827-34-richard.henderson@linaro.org>
This commit is contained in:
@@ -293,7 +293,7 @@ static const VMStateDescription vmstate_virtio_input = {
|
||||
.name = "virtio-input",
|
||||
.minimum_version_id = VIRTIO_INPUT_VM_VERSION,
|
||||
.version_id = VIRTIO_INPUT_VM_VERSION,
|
||||
.fields = (VMStateField[]) {
|
||||
.fields = (const VMStateField[]) {
|
||||
VMSTATE_VIRTIO_DEVICE,
|
||||
VMSTATE_END_OF_LIST()
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user