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/scsi-generic.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/scsi-generic.c')
| -rw-r--r-- | hw/scsi/scsi-generic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/scsi/scsi-generic.c b/hw/scsi/scsi-generic.c index 76f04a5ee8..d7ae7549d0 100644 --- a/hw/scsi/scsi-generic.c +++ b/hw/scsi/scsi-generic.c @@ -772,7 +772,7 @@ static SCSIRequest *scsi_new_request(SCSIDevice *d, uint32_t tag, uint32_t lun, return scsi_req_alloc(&scsi_generic_req_ops, d, tag, lun, hba_private); } -static Property scsi_generic_properties[] = { +static const Property scsi_generic_properties[] = { DEFINE_PROP_DRIVE("drive", SCSIDevice, conf.blk), DEFINE_PROP_BOOL("share-rw", SCSIDevice, conf.share_rw, false), DEFINE_PROP_UINT32("io_timeout", SCSIDevice, io_timeout, |