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>
This commit is contained in:
Richard Henderson 2023-12-21 14:16:01 +11:00
parent f55f1a4928
commit d19630d20c

View File

@ -237,7 +237,7 @@ static const VMStateDescription vmstate_virtio_9p = {
.name = "virtio-9p", .name = "virtio-9p",
.minimum_version_id = 1, .minimum_version_id = 1,
.version_id = 1, .version_id = 1,
.fields = (VMStateField[]) { .fields = (const VMStateField[]) {
VMSTATE_VIRTIO_DEVICE, VMSTATE_VIRTIO_DEVICE,
VMSTATE_END_OF_LIST() VMSTATE_END_OF_LIST()
}, },