]> xenbits.xensource.com Git - qemu-xen.git/commit
pc: add option to disable PS/2 mouse/keyboard
authorJoelle van Dyne <j@getutm.app>
Sun, 27 Feb 2022 21:06:55 +0000 (13:06 -0800)
committerMichael S. Tsirkin <mst@redhat.com>
Sun, 6 Mar 2022 10:08:23 +0000 (05:08 -0500)
commit4ccd5fe22feb95137d325f422016a6473541fe9f
tree98f401c1065b778ceb7863047683c664b19dca4e
parent6b0969f1ec825984cd74619f0730be421b0c46fb
pc: add option to disable PS/2 mouse/keyboard

On some older software like Windows 7 installer, having both a PS/2
mouse and USB mouse results in only one device working property (which
might be a different device each boot). While the workaround to not use
a USB mouse with such software is valid, it creates an inconsistent
experience if the user wishes to always use a USB mouse.

This introduces a new machine property to inhibit the creation of the
i8042 PS/2 controller.

Signed-off-by: Joelle van Dyne <j@getutm.app>
Message-Id: <20220227210655.45592-1-j@getutm.app>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/i386/pc.c
include/hw/i386/pc.h