qemuxml2argvtest: hostdev-scsi-virtio-scsi: Add <readonly/> to one of the iSCSI hostdevs

Test a readonly iSCSI backend as well.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
Peter Krempa
2020-09-16 09:08:56 +02:00
parent 1a5f35dbd2
commit c58c970586
4 changed files with 4 additions and 2 deletions
@@ -65,6 +65,7 @@
<source protocol='iscsi' name='iqn.1992-01.com.example/1'>
<host name='example.org' port='3260'/>
</source>
<readonly/>
<address type='drive' controller='0' bus='0' target='2' unit='5'/>
</hostdev>
<hostdev mode='subsystem' type='scsi' managed='yes'>