Add a local SCSI host device to validate upcoming generated data.
Signed-off-by: Peter Krempa <pkrempa(a)redhat.com>
---
tests/qemustatusxml2xmldata/upgrade-in.xml | 8 ++++++++
tests/qemustatusxml2xmldata/upgrade-out.xml | 8 ++++++++
2 files changed, 16 insertions(+)
diff --git a/tests/qemustatusxml2xmldata/upgrade-in.xml
b/tests/qemustatusxml2xmldata/upgrade-in.xml
index 8023857ffe..1942eacfa4 100644
--- a/tests/qemustatusxml2xmldata/upgrade-in.xml
+++ b/tests/qemustatusxml2xmldata/upgrade-in.xml
@@ -511,6 +511,14 @@
<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'/>
diff --git a/tests/qemustatusxml2xmldata/upgrade-out.xml
b/tests/qemustatusxml2xmldata/upgrade-out.xml
index d5534fb0f5..ee3c1b49b0 100644
--- a/tests/qemustatusxml2xmldata/upgrade-out.xml
+++ b/tests/qemustatusxml2xmldata/upgrade-out.xml
@@ -543,6 +543,14 @@
<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'/>
--
2.26.2