mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 13:45:38 +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.
13 lines
363 B
XML
13 lines
363 B
XML
<device>
|
|
<name>storage_serial_SATA_HTS721010G9SA00_MPCZ12Y0GNGWSE</name>
|
|
<parent>pci_8086_27c5_scsi_host_scsi_device_lun0</parent>
|
|
<capability type='storage'>
|
|
<block>/dev/sda</block>
|
|
<bus>scsi</bus>
|
|
<drive_type>disk</drive_type>
|
|
<model>HTS721010G9SA00</model>
|
|
<vendor>ATA</vendor>
|
|
<size>100030242816</size>
|
|
</capability>
|
|
</device>
|