aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2024-12-13 14:57:01 +0000
committerRichard Henderson <richard.henderson@linaro.org>2024-12-15 12:54:19 -0600
commit46408f1811447923921cd7d618e2c1e747592558 (patch)
treea8b5f8619d72a6e75de602af8c2e7386a8caf07e
parent9aec5dc3a41f6cf821d71565d9cd30bfed9541f0 (diff)
downloadqemu-46408f1811447923921cd7d618e2c1e747592558.zip
qemu-46408f1811447923921cd7d618e2c1e747592558.tar.gz
qemu-46408f1811447923921cd7d618e2c1e747592558.tar.bz2
hw/9pfs: Constify all Property
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Greg Kurz <groug@kaod.org> Reviewed-by: Christian Schoenebeck <qemu_oss@crudebyte.com> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
-rw-r--r--hw/9pfs/virtio-9p-device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/9pfs/virtio-9p-device.c b/hw/9pfs/virtio-9p-device.c
index efa41cf..b764e4c 100644
--- a/hw/9pfs/virtio-9p-device.c
+++ b/hw/9pfs/virtio-9p-device.c
@@ -243,7 +243,7 @@ static const VMStateDescription vmstate_virtio_9p = {
},
};
-static Property virtio_9p_properties[] = {
+static const Property virtio_9p_properties[] = {
DEFINE_PROP_STRING("mount_tag", V9fsVirtioState, state.fsconf.tag),
DEFINE_PROP_STRING("fsdev", V9fsVirtioState, state.fsconf.fsdev_id),
DEFINE_PROP_END_OF_LIST(),