summary refs log tree commit diff stats
path: root/qemu-options.hx
diff options
context:
space:
mode:
authorKamil Szczęk <kamil@szczek.dev>2024-08-17 15:26:15 +0000
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2024-08-20 00:49:14 +0200
commit702cbdc46b118b1622edeeaa01a22f7af9776388 (patch)
tree7c161ea295d9c3065eebfa93e61adb1fc084cd84 /qemu-options.hx
parentc911f875f83f938539f1ee36bace83fba6e50d68 (diff)
downloadfocaccia-qemu-702cbdc46b118b1622edeeaa01a22f7af9776388.tar.gz
focaccia-qemu-702cbdc46b118b1622edeeaa01a22f7af9776388.zip
hw/i386/pc: Ensure vmport prerequisites are fulfilled
Since commit 4ccd5fe22feb95137d325f422016a6473541fe9f ('pc: add option
to disable PS/2 mouse/keyboard'), the vmport will not be created unless
the i8042 PS/2 controller is enabled. To avoid confusion, let's fail if
vmport was explicitly requested, but the i8042 controller is disabled.
This also changes the behavior of vmport=auto to take i8042 controller
availability into account.

Signed-off-by: Kamil Szczęk <kamil@szczek.dev>
Reviewed-by: Bernhard Beschow <shentey@gmail.com>
Message-ID: <0MS3y5E-hHqODIhiuFxmCnIrXd612JIGq31UuMsz4KGCKZ_wWuF-PHGKTRSGS0nWaPEddOdF4YOczHdgorulECPo792OhWov7O9BBF6UMX4=@szczek.dev>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Diffstat (limited to 'qemu-options.hx')
-rw-r--r--qemu-options.hx4
1 files changed, 2 insertions, 2 deletions
diff --git a/qemu-options.hx b/qemu-options.hx
index d99084a5ee..d94e2cbbae 100644
--- a/qemu-options.hx
+++ b/qemu-options.hx
@@ -68,8 +68,8 @@ SRST
 
     ``vmport=on|off|auto``
         Enables emulation of VMWare IO port, for vmmouse etc. auto says
-        to select the value based on accel. For accel=xen the default is
-        off otherwise the default is on.
+        to select the value based on accel and i8042. For accel=xen or
+        i8042=off the default is off otherwise the default is on.
 
     ``dump-guest-core=on|off``
         Include guest memory in a core dump. The default is on.