diff options
| author | Joelle van Dyne | 2022-02-27 22:06:55 +0100 |
|---|---|---|
| committer | Michael S. Tsirkin | 2022-03-06 11:08:23 +0100 |
| commit | 4ccd5fe22feb95137d325f422016a6473541fe9f (patch) | |
| tree | 98f401c1065b778ceb7863047683c664b19dca4e /include/hw | |
| parent | acpi: pcihp: pcie: set power on cap on parent slot (diff) | |
| download | qemu-4ccd5fe22feb95137d325f422016a6473541fe9f.tar.gz qemu-4ccd5fe22feb95137d325f422016a6473541fe9f.tar.xz qemu-4ccd5fe22feb95137d325f422016a6473541fe9f.zip | |
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>
Diffstat (limited to 'include/hw')
| -rw-r--r-- | include/hw/i386/pc.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/hw/i386/pc.h b/include/hw/i386/pc.h index 9c9f4ac748..1a27de9c8b 100644 --- a/include/hw/i386/pc.h +++ b/include/hw/i386/pc.h @@ -48,6 +48,7 @@ typedef struct PCMachineState { bool sata_enabled; bool pit_enabled; bool hpet_enabled; + bool i8042_enabled; bool default_bus_bypass_iommu; uint64_t max_fw_size; @@ -64,6 +65,7 @@ typedef struct PCMachineState { #define PC_MACHINE_SMBUS "smbus" #define PC_MACHINE_SATA "sata" #define PC_MACHINE_PIT "pit" +#define PC_MACHINE_I8042 "i8042" #define PC_MACHINE_MAX_FW_SIZE "max-fw-size" #define PC_MACHINE_SMBIOS_EP "smbios-entry-point-type" |
