diff options
| author | Richard Henderson <richard.henderson@linaro.org> | 2023-12-21 14:16:07 +1100 |
|---|---|---|
| committer | Richard Henderson <richard.henderson@linaro.org> | 2023-12-29 11:17:30 +1100 |
| commit | f0613160d20f0a3484ea8b6d7cb085c22a84682f (patch) | |
| tree | c713ac894aa2dd24420f565100e913e3c4ddf726 /hw/display/virtio-vga.c | |
| parent | 2f6cab053f25ed500c187099e7e7484ead69729a (diff) | |
| download | focaccia-qemu-f0613160d20f0a3484ea8b6d7cb085c22a84682f.tar.gz focaccia-qemu-f0613160d20f0a3484ea8b6d7cb085c22a84682f.zip | |
hw/display: Constify VMState
Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20231221031652.119827-27-richard.henderson@linaro.org>
Diffstat (limited to 'hw/display/virtio-vga.c')
| -rw-r--r-- | hw/display/virtio-vga.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/display/virtio-vga.c b/hw/display/virtio-vga.c index c8552ff760..94d3353f54 100644 --- a/hw/display/virtio-vga.c +++ b/hw/display/virtio-vga.c @@ -88,7 +88,7 @@ static const VMStateDescription vmstate_virtio_vga_base = { .name = "virtio-vga", .version_id = 2, .minimum_version_id = 2, - .fields = (VMStateField[]) { + .fields = (const VMStateField[]) { /* no pci stuff here, saving the virtio device will handle that */ VMSTATE_STRUCT(vga, VirtIOVGABase, 0, vmstate_vga_common, VGACommonState), |