aboutsummaryrefslogtreecommitdiffstats
path: root/vm/qemu
diff options
context:
space:
mode:
authorCameron Finucane <eep@google.com>2022-09-19 15:59:09 -0700
committerDmitry Vyukov <dvyukov@google.com>2022-09-20 09:16:56 +0200
commit7c41a9ba554969dd7b2ed8136cff49147972e122 (patch)
tree3b4a5532896383d8ba508466ffedc59e5fb611cf /vm/qemu
parentdd9a85ff356d74a765888403f1b70faece9e642b (diff)
vm/qemu: relax Fuchsia lockup detector thresholds
Running with nested virtualization, this was causing many false positives, so we relax it to a similar level as used for Linux targets.
Diffstat (limited to 'vm/qemu')
-rw-r--r--vm/qemu/qemu.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/vm/qemu/qemu.go b/vm/qemu/qemu.go
index fc12e76ea..602cc4fb4 100644
--- a/vm/qemu/qemu.go
+++ b/vm/qemu/qemu.go
@@ -232,6 +232,14 @@ var archConfigs = map[string]*archConfig{
CmdLine: []string{
"kernel.serial=legacy",
"kernel.halt-on-panic=true",
+ // Set long (300sec) thresholds for kernel lockup detector to
+ // prevent false alarms from potentially oversubscribed hosts.
+ // (For more context, see fxbug.dev/109612.)
+ "kernel.lockup-detector.critical-section-threshold-ms=300000",
+ "kernel.lockup-detector.critical-section-fatal-threshold-ms=300000",
+ "kernel.lockup-detector.heartbeat-period-ms=300000",
+ "kernel.lockup-detector.heartbeat-age-threshold-ms=300000",
+ "kernel.lockup-detector.heartbeat-age-fatal-threshold-ms=300000",
},
},
"akaros/amd64": {