]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: support configuring usb3 controller port count
authorCole Robinson <crobinso@redhat.com>
Sat, 23 Apr 2016 23:52:56 +0000 (19:52 -0400)
committerCole Robinson <crobinso@redhat.com>
Tue, 3 May 2016 12:58:30 +0000 (08:58 -0400)
commit600977e293ee97fc53a7ef17fb89cb310560e7ab
tree851b8a6118a8c9d86fe91ef073e834bd76d94ff4
parent48e12de51e97891abaf7561239a1b985c8113ec6
qemu: support configuring usb3 controller port count

This adds a ports= attribute to usb controller XML, like

  <controller type='usb' model='nec-xhci' ports='8'/>

This maps to:

  qemu -device nec-usb-xhci,p2=8,p3=8

Meaning, 8 ports that support both usb2 and usb3 devices. Gerd
suggested to just expose them as one knob.

https://bugzilla.redhat.com/show_bug.cgi?id=1271408
docs/formatdomain.html.in
docs/schemas/domaincommon.rng
src/conf/domain_conf.c
src/conf/domain_conf.h
src/qemu/qemu_command.c
tests/qemuxml2argvdata/qemuxml2argv-usb-controller-xhci.args [new file with mode: 0644]
tests/qemuxml2argvdata/qemuxml2argv-usb-controller-xhci.xml [new file with mode: 0644]
tests/qemuxml2argvtest.c