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-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-scsi.c')
| -rw-r--r-- | hw/scsi/vhost-scsi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/scsi/vhost-scsi.c b/hw/scsi/vhost-scsi.c index 22d16dc26b..effb8dab1f 100644 --- a/hw/scsi/vhost-scsi.c +++ b/hw/scsi/vhost-scsi.c @@ -343,7 +343,7 @@ static struct vhost_dev *vhost_scsi_get_vhost(VirtIODevice *vdev) return &vsc->dev; } -static Property vhost_scsi_properties[] = { +static const Property vhost_scsi_properties[] = { DEFINE_PROP_STRING("vhostfd", VirtIOSCSICommon, conf.vhostfd), DEFINE_PROP_STRING("wwpn", VirtIOSCSICommon, conf.wwpn), DEFINE_PROP_UINT32("boot_tpgt", VirtIOSCSICommon, conf.boot_tpgt, 0), |