diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2018-06-20 15:35:45 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2018-06-22 16:40:45 +0200 |
| commit | d3bbcc35ee486a3d456fe58fa0600fc93b7a79fe (patch) | |
| tree | 53f56f5eb5ab1f30f7df489addeba3a8d9273c94 /vm/isolated | |
| parent | 9a7d0a5412c35bdc7d0ec09fc21c1d4277e62d31 (diff) | |
vm/vmimpl: add vm.Diagnose method
Diagnose is called on machine hang to try to get
some additional diagnostic information from it.
For now it's all stubs.
Diffstat (limited to 'vm/isolated')
| -rw-r--r-- | vm/isolated/isolated.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/vm/isolated/isolated.go b/vm/isolated/isolated.go index f86ec96fd..6c79f7cd6 100644 --- a/vm/isolated/isolated.go +++ b/vm/isolated/isolated.go @@ -308,6 +308,10 @@ func (inst *instance) Run(timeout time.Duration, stop <-chan bool, command strin return vmimpl.Multiplex(cmd, merger, dmesg, timeout, stop, inst.closed, inst.debug) } +func (inst *instance) Diagnose() bool { + return false +} + func (inst *instance) sshArgs(portArg string) []string { args := []string{ portArg, fmt.Sprint(inst.targetPort), |
