From 6ba42c1457357e6960436e89c66118b6ad0d1bd1 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 9 Apr 2021 11:04:12 +0200 Subject: Move USB settings before machine-specific settings --- bbot/agent/machine.cxx | 12 ++++++------ 1 file 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 -- cgit v1.1