mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-25 07:05:28 +00:00
e9843279cc
We support up to four levels of nested USB devices in the guest. Add a test for a domain using all four and a negative test for a domain using five.
31 lines
870 B
XML
31 lines
870 B
XML
<domain type='qemu'>
|
|
<name>QEMUGuest1</name>
|
|
<uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
|
|
<memory unit='KiB'>219136</memory>
|
|
<currentMemory unit='KiB'>219136</currentMemory>
|
|
<vcpu placement='static'>1</vcpu>
|
|
<os>
|
|
<type arch='i686' machine='pc'>hvm</type>
|
|
<boot dev='hd'/>
|
|
</os>
|
|
<devices>
|
|
<emulator>/usr/bin/qemu</emulator>
|
|
<controller type='usb' index='0'>
|
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
|
|
</controller>
|
|
<hub type='usb'>
|
|
<address type='usb' bus='0' port='1'/>
|
|
</hub>
|
|
<hub type='usb'>
|
|
<address type='usb' bus='0' port='1.1'/>
|
|
</hub>
|
|
<hub type='usb'>
|
|
<address type='usb' bus='0' port='1.1.1'/>
|
|
</hub>
|
|
<hub type='usb'>
|
|
<address type='usb' bus='0' port='1.1.1.1'/>
|
|
</hub>
|
|
<memballoon model='virtio'/>
|
|
</devices>
|
|
</domain>
|