commit | be77c6967a83cbef4982fc81268d856666fec31d | [log] [tgz] |
---|---|---|
author | Dmitry Vyukov <dvyukov@google.com> | Thu Jul 05 13:42:01 2018 +0200 |
committer | Dmitry Vyukov <dvyukov@google.com> | Thu Jul 05 17:41:06 2018 +0200 |
tree | e0b14ed4af2a11fed52f8f4d3747c19aa98065fb | |
parent | d02d0395291001a266492e3c3ac039b217bb205d [diff] |
vm/gvisor: enable watchdog panic We need it to crash to detect hangs.
diff --git a/vm/gvisor/gvisor.go b/vm/gvisor/gvisor.go index 76e7a22..f077443 100644 --- a/vm/gvisor/gvisor.go +++ b/vm/gvisor/gvisor.go
@@ -183,6 +183,7 @@ func (inst *instance) runscCmd(add ...string) *exec.Cmd { args := []string{ "-root", inst.rootDir, + "-watchdog-action=panic", "-network=none", } if inst.cfg.RunscArgs != "" {