mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-09-20 22:51:10 +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.
11 lines
285 B
XML
11 lines
285 B
XML
<device>
|
|
<name>usb_device_1d6b_1_0000_00_1d_0</name>
|
|
<parent>pci_8086_27c8</parent>
|
|
<capability type='usb_device'>
|
|
<bus>2</bus>
|
|
<device>1</device>
|
|
<product id='0x0001'>1.1 root hub</product>
|
|
<vendor id='0x1d6b'>Linux Foundation</vendor>
|
|
</capability>
|
|
</device>
|