]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
qemuxmlconftest: Add example for "sgio='filtered'" disk option
authorPeter Krempa <pkrempa@redhat.com>
Wed, 15 Oct 2025 13:24:15 +0000 (15:24 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 21 Oct 2025 13:33:21 +0000 (15:33 +0200)
The test suite validates only the error with the "sgio='unfiltered'"
setting which isn't supported by the qemu driver. Validate also the
'filtered' used explicitly (the default behaviour if unspecified is the
same as 'filtered').

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
tests/qemuxmlconfdata/disk-scsi-lun-passthrough.x86_64-latest.xml
tests/qemuxmlconfdata/disk-scsi-lun-passthrough.xml

index 6c0d3b41e87fb1ef25cfcf25db6d270552e2fd93..8037cd81600a052f36e1c10bcf8604b834275b6a 100644 (file)
@@ -23,7 +23,7 @@
       <target dev='hda' bus='scsi'/>
       <address type='drive' controller='0' bus='0' target='0' unit='0'/>
     </disk>
-    <disk type='block' device='lun'>
+    <disk type='block' device='lun' sgio='filtered'>
       <driver name='qemu' type='raw'/>
       <source dev='/dev/HostVG/QEMUGuest2'/>
       <target dev='hdb' bus='scsi'/>
index 2a3878e23df6144a1fccf95b9d599e6ea505eb97..6a055a5649d77ab60eee2d80ba92f483e81725d9 100644 (file)
@@ -19,7 +19,7 @@
       <target dev='hda' bus='scsi'/>
       <address type='drive' controller='0' bus='0' target='0' unit='0'/>
     </disk>
-    <disk type='block' device='lun'>
+    <disk type='block' device='lun' sgio='filtered'>
       <source dev='/dev/HostVG/QEMUGuest2'/>
       <target dev='hdb' bus='scsi'/>
       <address type='drive' controller='0' bus='0' target='1' unit='1'/>