]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
tests: qemustatusxml2xmldata: Add local SCSI hostdev to 'upgrade' case
authorPeter Krempa <pkrempa@redhat.com>
Thu, 10 Sep 2020 15:28:46 +0000 (17:28 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 15 Sep 2020 13:20:23 +0000 (15:20 +0200)
Add a local SCSI host device to validate upcoming generated data.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
tests/qemustatusxml2xmldata/upgrade-in.xml
tests/qemustatusxml2xmldata/upgrade-out.xml

index 8023857ffee4cbcad0f1a0bb3c3ecefdd0d2dac7..1942eacfa4c4fb678fd5ecca52e24ce067e04d9c 100644 (file)
         <alias name='hostdev1'/>
         <address type='drive' controller='0' bus='0' target='2' unit='5'/>
       </hostdev>
+      <hostdev mode='subsystem' type='scsi' managed='yes'>
+        <source>
+          <adapter name='scsi_host0'/>
+          <address bus='0' target='0' unit='0'/>
+        </source>
+        <alias name='hostdev2'/>
+        <address type='drive' controller='0' bus='0' target='2' unit='6'/>
+      </hostdev>
       <redirdev bus='usb' type='spicevmc'>
         <alias name='redir0'/>
         <address type='usb' bus='0' port='2'/>
index d5534fb0f5ab87a1568db64c2dd5acb84b20c4ae..ee3c1b49b0c4a111c623b9bffece899717880721 100644 (file)
         <alias name='hostdev1'/>
         <address type='drive' controller='0' bus='0' target='2' unit='5'/>
       </hostdev>
+      <hostdev mode='subsystem' type='scsi' managed='yes'>
+        <source>
+          <adapter name='scsi_host0'/>
+          <address bus='0' target='0' unit='0'/>
+        </source>
+        <alias name='hostdev2'/>
+        <address type='drive' controller='0' bus='0' target='2' unit='6'/>
+      </hostdev>
       <redirdev bus='usb' type='spicevmc'>
         <alias name='redir0'/>
         <address type='usb' bus='0' port='2'/>