aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2021-04-09 11:04:12 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2021-04-09 11:04:12 +0200
commit6ba42c1457357e6960436e89c66118b6ad0d1bd1 (patch)
tree95f66db09219f74d98605b2fe9bd9bdc779720c0
parent95bb4efa740d120723f769284c9bdeb31ef927a3 (diff)
Move USB settings before machine-specific settings
-rw-r--r--bbot/agent/machine.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/bbot/agent/machine.cxx b/bbot/agent/machine.cxx
index 177fd99..a7dc192 100644
--- a/bbot/agent/machine.cxx
+++ b/bbot/agent/machine.cxx
@@ -385,6 +385,12 @@ namespace bbot
"-no-hpet",
"-global", "kvm-pit.lost_tick_policy=discard",
+ // USB settings.
+ //
+ // This option should make graphical VMs usable from VNC.
+ //
+ "-usb", "-device", "usb-tablet",
+
// These can override the above but not below.
//
os,
@@ -397,12 +403,6 @@ 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