diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2022-10-03 12:31:44 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2022-10-03 12:31:44 +0200 |
commit | 21ae6369b28eec0f6f282805661e3327d55ac732 (patch) | |
tree | c3f52731ffcbdf6ad049f338a980b7e350238dd0 | |
parent | 540add1be1e985d8b3e2ef22266861d28d397a8d (diff) |
Tweaks to KVM command line
-rw-r--r-- | bbot/agent/machine.cxx | 5 |
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. // |