]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Allow creating ppc64 guests with graphics and no USB mouse
authorAndrea Bolognani <abologna@redhat.com>
Wed, 27 Feb 2019 17:41:35 +0000 (18:41 +0100)
committerAndrea Bolognani <abologna@redhat.com>
Mon, 11 Mar 2019 08:59:34 +0000 (09:59 +0100)
commit186bb479d0f409dc75175bea48a760838c479a6c
tree7edde22ccb6825eadc704e12497c9f044669957e
parent4d7ea75e1e738367c1ff4127a7ff266ec134089a
qemu: Allow creating ppc64 guests with graphics and no USB mouse

The existing behavior for ppc64 guests is to always add a USB
keyboard and mouse combo if graphics are present; unfortunately,
this means any attempt to use a USB tablet will cause both pointing
devices to show up in the guest, which in turn will result in poor
user experience.

We can't just stop adding the USB mouse or start adding a USB tablet
instead, because existing applications and users might rely on the
current behavior; however, we can avoid adding the USB mouse if a USB
tablet is already present, thus allowing users and applications to
create guests that contain a single pointing device.

https://bugzilla.redhat.com/show_bug.cgi?id=1683681

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: Cole Robinson <crobinso@redhat.com>
src/qemu/qemu_domain.c
tests/qemuxml2argvdata/ppc64-pseries-graphics.ppc64-latest.args