diff options
| author | Richard Henderson <richard.henderson@linaro.org> | 2024-12-13 16:47:35 +0000 |
|---|---|---|
| committer | Richard Henderson <richard.henderson@linaro.org> | 2024-12-15 12:56:12 -0600 |
| commit | ec7630a2a1ecb200bfb087dffcbf5437291edfc2 (patch) | |
| tree | 3e538cef7038d35712d9299c665c5e1b09955619 /hw/scsi/vhost-user-scsi.c | |
| parent | 6048081263f9baa4550dd7c13b3d9a470a55eef7 (diff) | |
| download | focaccia-qemu-ec7630a2a1ecb200bfb087dffcbf5437291edfc2.tar.gz focaccia-qemu-ec7630a2a1ecb200bfb087dffcbf5437291edfc2.zip | |
hw/scsi: Constify all Property
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'hw/scsi/vhost-user-scsi.c')
| -rw-r--r-- | hw/scsi/vhost-user-scsi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/scsi/vhost-user-scsi.c b/hw/scsi/vhost-user-scsi.c index 55e4be5b34..d5265c57bc 100644 --- a/hw/scsi/vhost-user-scsi.c +++ b/hw/scsi/vhost-user-scsi.c @@ -341,7 +341,7 @@ static void vhost_user_scsi_unrealize(DeviceState *dev) virtio_scsi_common_unrealize(dev); } -static Property vhost_user_scsi_properties[] = { +static const Property vhost_user_scsi_properties[] = { DEFINE_PROP_CHR("chardev", VirtIOSCSICommon, conf.chardev), DEFINE_PROP_UINT32("boot_tpgt", VirtIOSCSICommon, conf.boot_tpgt, 0), DEFINE_PROP_UINT32("num_queues", VirtIOSCSICommon, conf.num_queues, |