mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-11-03 20:01:16 +00:00
3ac97c2ded
Commit 815d98a
started auto-adding one hub if there are more USB devices
than available USB ports.
This was a strange choice, since there might be even more devices.
Before USB address allocation was implemented in libvirt, QEMU
automatically added a new USB hub if the old one was full.
Adjust the logic to try adding as many hubs as will be needed
to plug in all the specified devices.
https://bugzilla.redhat.com/show_bug.cgi?id=1410188
36 lines
1.1 KiB
XML
36 lines
1.1 KiB
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'/>
|
|
<memballoon model='virtio'/>
|
|
<input type='mouse' bus='usb'>
|
|
</input>
|
|
<input type='mouse' bus='usb'>
|
|
</input>
|
|
<input type='mouse' bus='usb'>
|
|
</input>
|
|
<input type='tablet' bus='usb'/>
|
|
<input type='tablet' bus='usb'/>
|
|
<input type='tablet' bus='usb'/>
|
|
<input type='tablet' bus='usb'/>
|
|
<input type='tablet' bus='usb'/>
|
|
<input type='tablet' bus='usb'/>
|
|
<input type='tablet' bus='usb'/>
|
|
<input type='tablet' bus='usb'/>
|
|
<input type='tablet' bus='usb'/>
|
|
<input type='tablet' bus='usb'/>
|
|
<input type='tablet' bus='usb'/>
|
|
<input type='tablet' bus='usb'/>
|
|
<input type='tablet' bus='usb'/>
|
|
</devices>
|
|
</domain>
|