aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bbot/agent/machine.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/bbot/agent/machine.cxx b/bbot/agent/machine.cxx
index 89da981..83e64e5 100644
--- a/bbot/agent/machine.cxx
+++ b/bbot/agent/machine.cxx
@@ -373,6 +373,7 @@ namespace bbot
2, // 1>&2 (QMP goes to stdout)
qmp_out,
process_env (kvm, md, env), // Run from the machine's directory.
+ "-enable-kvm",
"-name", name + ",debug-threads=on",
"-S", // Start suspended.
"-boot", "c", // Boot from disk.
@@ -382,14 +383,16 @@ namespace bbot
// RTC settings.
//
"-rtc", "clock=vm,driftfix=slew",
+#ifdef __x86_64__
"-no-hpet",
"-global", "kvm-pit.lost_tick_policy=discard",
+#endif
// USB settings.
//
// This option should make graphical VMs usable from VNC.
//
- "-usb", "-device", "usb-tablet",
+ "-usb", "-device", "usb-kbd", "-device", "usb-tablet",
// These can override the above but not below.
//