summary refs log tree commit diff stats
path: root/hw/virtio/vdpa-dev.c
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2024-12-13 17:29:25 +0000
committerRichard Henderson <richard.henderson@linaro.org>2024-12-15 12:56:40 -0600
commit1577a9180f374cd8bca32f8a5e8c8ac8977d7199 (patch)
treefd3b39c6df65f97469e7c057d281550851038008 /hw/virtio/vdpa-dev.c
parentd3eb6f73e14c6ba413be0a3c658882782aa93eac (diff)
downloadfocaccia-qemu-1577a9180f374cd8bca32f8a5e8c8ac8977d7199.tar.gz
focaccia-qemu-1577a9180f374cd8bca32f8a5e8c8ac8977d7199.zip
hw/virtio: Constify all Property
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'hw/virtio/vdpa-dev.c')
-rw-r--r--hw/virtio/vdpa-dev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/virtio/vdpa-dev.c b/hw/virtio/vdpa-dev.c
index 64b96b226c..61849b3b0e 100644
--- a/hw/virtio/vdpa-dev.c
+++ b/hw/virtio/vdpa-dev.c
@@ -337,7 +337,7 @@ static void vhost_vdpa_device_set_status(VirtIODevice *vdev, uint8_t status)
     }
 }
 
-static Property vhost_vdpa_device_properties[] = {
+static const Property vhost_vdpa_device_properties[] = {
     DEFINE_PROP_STRING("vhostdev", VhostVdpaDevice, vhostdev),
     DEFINE_PROP_UINT16("queue-size", VhostVdpaDevice, queue_size, 0),
     DEFINE_PROP_END_OF_LIST(),