[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 20/71] hw/9pfs: Constify VMState
From: |
Richard Henderson |
Subject: |
[PATCH v2 20/71] hw/9pfs: Constify VMState |
Date: |
Thu, 21 Dec 2023 14:16:01 +1100 |
Acked-by: Greg Kurz <groug@kaod.org>
Acked-by: Christian Schoenebeck <qemu_oss@crudebyte.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
hw/9pfs/virtio-9p-device.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hw/9pfs/virtio-9p-device.c b/hw/9pfs/virtio-9p-device.c
index 5f522e68e9..efa41cfd73 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()
},
--
2.34.1
- [PATCH v2 10/71] target/m68k: Constify VMState in machine.c, (continued)
- [PATCH v2 10/71] target/m68k: Constify VMState in machine.c, Richard Henderson, 2023/12/20
- [PATCH v2 11/71] target/microblaze: Constify VMState in machine.c, Richard Henderson, 2023/12/20
- [PATCH v2 12/71] target/mips: Constify VMState in machine.c, Richard Henderson, 2023/12/20
- [PATCH v2 13/71] target/openrisc: Constify VMState in machine.c, Richard Henderson, 2023/12/20
- [PATCH v2 14/71] target/ppc: Constify VMState in machine.c, Richard Henderson, 2023/12/20
- [PATCH v2 15/71] target/riscv: Constify VMState in machine.c, Richard Henderson, 2023/12/20
- [PATCH v2 16/71] target/s390x: Constify VMState in machine.c, Richard Henderson, 2023/12/20
- [PATCH v2 17/71] target/sparc: Constify VMState in machine.c, Richard Henderson, 2023/12/20
- [PATCH v2 18/71] hw/arm: Constify VMState, Richard Henderson, 2023/12/20
- [PATCH v2 19/71] hw/core: Constify VMState, Richard Henderson, 2023/12/20
- [PATCH v2 20/71] hw/9pfs: Constify VMState,
Richard Henderson <=
- [PATCH v2 21/71] hw/acpi: Constify VMState, Richard Henderson, 2023/12/20
- [PATCH v2 22/71] hw/adc: Constify VMState, Richard Henderson, 2023/12/20
- [PATCH v2 23/71] hw/audio: Constify VMState, Richard Henderson, 2023/12/20
- [PATCH v2 24/71] hw/block: Constify VMState, Richard Henderson, 2023/12/20
- [PATCH v2 25/71] hw/char: Constify VMState, Richard Henderson, 2023/12/20
- [PATCH v2 26/71] hw/display: Constify VMState, Richard Henderson, 2023/12/20
- [PATCH v2 27/71] hw/dma: Constify VMState, Richard Henderson, 2023/12/20
- [PATCH v2 28/71] hw/gpio: Constify VMState, Richard Henderson, 2023/12/20
- [PATCH v2 29/71] hw/hyperv: Constify VMState, Richard Henderson, 2023/12/20
- [PATCH v2 30/71] hw/i2c: Constify VMState, Richard Henderson, 2023/12/20