]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: auto-add generic xhci rather than NEC xhci to Q35 domains
authorLaine Stump <laine@laine.org>
Wed, 17 Jan 2018 21:47:06 +0000 (16:47 -0500)
committerLaine Stump <laine@laine.org>
Mon, 22 Jan 2018 15:13:16 +0000 (10:13 -0500)
commited2049ea19f53baf276804a8d1e620ab843a01cc
treebd0c0fc0ca1728e561dbcbfc7b8e0ee1f43205c7
parentba9ea2ad7dd15d9a2e9c7a5b9a8a3e7066351015
qemu: auto-add generic xhci rather than NEC xhci to Q35 domains

We recently added a generic XHCI USB3 controller to QEMU, and libvirt
supports adding that controller rather than the NEC XHCI USB3
controller, but when auto-adding a USB controller to Q35 domains we
were still adding the vendor-specific NEC controller. This patch
changes to add the generic controller instead, if it's available in
the QEMU binary that will be used.

Signed-off-by: Laine Stump <laine@laine.org>
Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
src/qemu/qemu_domain.c