mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-08-29 03:51:17 +00:00
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>
|