mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-07 17:28:15 +00:00
qemustatusxml2xmltest: Add tests for iSCSI hostdev private data handling
Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
parent
bb78cf0046
commit
6306f88df0
@ -458,6 +458,24 @@
|
|||||||
<alias name='video0'/>
|
<alias name='video0'/>
|
||||||
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
|
||||||
</video>
|
</video>
|
||||||
|
<hostdev mode='subsystem' type='scsi' managed='yes'>
|
||||||
|
<source protocol='iscsi' name='iqn.1992-01.com.example:storage/1'>
|
||||||
|
<host name='example.org' port='3260'/>
|
||||||
|
<privateData>
|
||||||
|
<nodenames>
|
||||||
|
<nodename type='storage' name='hostdev-backend'/>
|
||||||
|
</nodenames>
|
||||||
|
<objects>
|
||||||
|
<secret type='auth' alias='custom-secret'/>
|
||||||
|
</objects>
|
||||||
|
</privateData>
|
||||||
|
<auth username='myname'>
|
||||||
|
<secret type='iscsi' usage='mycluster_myname'/>
|
||||||
|
</auth>
|
||||||
|
</source>
|
||||||
|
<alias name='hostdev0'/>
|
||||||
|
<address type='drive' controller='0' bus='0' target='2' unit='4'/>
|
||||||
|
</hostdev>
|
||||||
<redirdev bus='usb' type='spicevmc'>
|
<redirdev bus='usb' type='spicevmc'>
|
||||||
<alias name='redir0'/>
|
<alias name='redir0'/>
|
||||||
<address type='usb' bus='0' port='2'/>
|
<address type='usb' bus='0' port='2'/>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user