mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-11-02 19:31:18 +00:00
da61daa2e6
Add a test to check node device XML parsing by first parsing the XML, then re-formatting as XML and finally comparing the resulting XML to the original XML.
16 lines
431 B
XML
16 lines
431 B
XML
<device>
|
|
<name>DVD_GCC_4247N</name>
|
|
<parent>pci_8086_27df_scsi_host_scsi_device_lun0</parent>
|
|
<capability type='storage'>
|
|
<block>/dev/sr0</block>
|
|
<bus>scsi</bus>
|
|
<drive_type>cdrom</drive_type>
|
|
<model>RW/DVD GCC-4247N</model>
|
|
<vendor>HL-DT-ST</vendor>
|
|
<capability type='removable'>
|
|
<media_available>0</media_available>
|
|
<media_size>0</media_size>
|
|
</capability>
|
|
</capability>
|
|
</device>
|