summary refs log tree commit diff stats
path: root/hw/virtio/vhost-vsock-common.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/vhost-vsock-common.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/vhost-vsock-common.c')
-rw-r--r--hw/virtio/vhost-vsock-common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/virtio/vhost-vsock-common.c b/hw/virtio/vhost-vsock-common.c
index fd88df2560..cb2253c39f 100644
--- a/hw/virtio/vhost-vsock-common.c
+++ b/hw/virtio/vhost-vsock-common.c
@@ -285,7 +285,7 @@ static struct vhost_dev *vhost_vsock_common_get_vhost(VirtIODevice *vdev)
     return &vvc->vhost_dev;
 }
 
-static Property vhost_vsock_common_properties[] = {
+static const Property vhost_vsock_common_properties[] = {
     DEFINE_PROP_ON_OFF_AUTO("seqpacket", VHostVSockCommon, seqpacket,
                             ON_OFF_AUTO_AUTO),
     DEFINE_PROP_END_OF_LIST(),