]> git.ipfire.org Git - thirdparty/libvirt.git/commit
PPC64 prefers to set pci-ohci controller as default USB controller.
authorLi Zhang <zhlcindy@linux.vnet.ibm.com>
Wed, 23 Apr 2014 11:30:42 +0000 (12:30 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Wed, 23 Apr 2014 11:44:42 +0000 (12:44 +0100)
commit7b6b9d3863769df521dc2530651ffa41deb255ca
tree8e6381011f9f45b6702c5bbf614c85343d245c6f
parent17a65277ce8fd924798d767d002fb3ac175b8a0a
PPC64 prefers to set pci-ohci controller as default USB controller.
Currently, libvirt is using legacy USB controller as default. There
are problems with VGA which can't work correctly with USB Keyboard and
USB Mouse.

While providing -nodefaults, ppc64 should be specifying the usb
controller explicitly in place of using the legacy
controller(-usb). Qemu spapr initialization code when sees "-usb" adds a
USB Keyboard and USB Mouse by default. And libvirt has added a USB
keyboard and USB mouse.

A recent fix in the in qemu VGA code uncoverd this problem, which
resulted in addition of extra keyboard and mouse to the qemu machine.

This patch is to set pci-ohci as USB default controller.

Signed-off-by: Li Zhang <zhlcindy@linux.vnet.ibm.com>
src/qemu/qemu_command.c
tests/qemuxml2argvdata/qemuxml2argv-pseries-usb-default.args