diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2018-07-05 13:42:01 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2018-07-05 17:41:06 +0200 |
| commit | be77c6967a83cbef4982fc81268d856666fec31d (patch) | |
| tree | e0b14ed4af2a11fed52f8f4d3747c19aa98065fb /vm/gvisor/gvisor.go | |
| parent | d02d0395291001a266492e3c3ac039b217bb205d (diff) | |
vm/gvisor: enable watchdog panic
We need it to crash to detect hangs.
Diffstat (limited to 'vm/gvisor/gvisor.go')
| -rw-r--r-- | vm/gvisor/gvisor.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/vm/gvisor/gvisor.go b/vm/gvisor/gvisor.go index 76e7a2213..f07744303 100644 --- a/vm/gvisor/gvisor.go +++ b/vm/gvisor/gvisor.go @@ -183,6 +183,7 @@ func (inst *instance) waitBoot() error { func (inst *instance) runscCmd(add ...string) *exec.Cmd { args := []string{ "-root", inst.rootDir, + "-watchdog-action=panic", "-network=none", } if inst.cfg.RunscArgs != "" { |
