diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2023-12-21 14:16:01 +1100 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2023-12-29 11:17:30 +1100 |
commit | d19630d20ce909e26b165b0db6cbeea8cd84bdb3 (patch) | |
tree | c0db007456486a55002e87373c4be3780eb37d50 /hw | |
parent | f55f1a4928a554f56ce906f410b3bc23819f075d (diff) | |
download | qemu-d19630d20ce909e26b165b0db6cbeea8cd84bdb3.zip qemu-d19630d20ce909e26b165b0db6cbeea8cd84bdb3.tar.gz qemu-d19630d20ce909e26b165b0db6cbeea8cd84bdb3.tar.bz2 |
hw/9pfs: Constify VMState
Acked-by: Greg Kurz <groug@kaod.org>
Acked-by: Christian Schoenebeck <qemu_oss@crudebyte.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20231221031652.119827-21-richard.henderson@linaro.org>
Diffstat (limited to 'hw')
-rw-r--r-- | hw/9pfs/virtio-9p-device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/9pfs/virtio-9p-device.c b/hw/9pfs/virtio-9p-device.c index 5f522e6..efa41cf 100644 --- a/hw/9pfs/virtio-9p-device.c +++ b/hw/9pfs/virtio-9p-device.c @@ -237,7 +237,7 @@ static const VMStateDescription vmstate_virtio_9p = { .name = "virtio-9p", .minimum_version_id = 1, .version_id = 1, - .fields = (VMStateField[]) { + .fields = (const VMStateField[]) { VMSTATE_VIRTIO_DEVICE, VMSTATE_END_OF_LIST() }, |