aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2021-04-08 16:06:04 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2021-04-08 16:06:04 +0200
commit95bb4efa740d120723f769284c9bdeb31ef927a3 (patch)
tree033eb201ecd4d421f5a44eea3c924258a780f0ed
parentd9117ec3a851daeccb10f3529fc13c26a40e9ac3 (diff)
Enable usb-tablet for KVM machines
-rw-r--r--bbot/agent/machine.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/bbot/agent/machine.cxx b/bbot/agent/machine.cxx
index 3768971..177fd99 100644
--- a/bbot/agent/machine.cxx
+++ b/bbot/agent/machine.cxx
@@ -397,6 +397,12 @@ namespace bbot
",cores=" + to_string (cores) +
",threads=" + to_string (threads)),
+ // USB.
+ //
+ // This option should make graphical VMs usable from VNC.
+ //
+ "-usb", "-device", "usb-tablet",
+
// VNC.
//
// We listen on all IPs for a public VNC session and only on localhost