aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2018-06-20 15:26:37 +0200
committerDmitry Vyukov <dvyukov@google.com>2018-06-22 16:40:45 +0200
commit87bfb99cfe1eef9469625911574b1caab04557d3 (patch)
treed29a283db2df928698c2c39850b1133b11ef55b6 /tools
parentef9ddfbe36910afb0336375fec3cfed65a74897f (diff)
vm: pass instance to MonitorExecution
It may need it later to try to obtain additional diagnostic from hanged instances.
Diffstat (limited to 'tools')
-rw-r--r--tools/syz-crush/crush.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/syz-crush/crush.go b/tools/syz-crush/crush.go
index 90a7b6185..20560d0ad 100644
--- a/tools/syz-crush/crush.go
+++ b/tools/syz-crush/crush.go
@@ -110,7 +110,7 @@ func runInstance(cfg *mgrconfig.Config, reporter report.Reporter, vmPool *vm.Poo
}
log.Logf(0, "vm-%v: crushing...", index)
- rep := vm.MonitorExecution(outc, errc, reporter, false)
+ rep := inst.MonitorExecution(outc, errc, reporter, false)
if rep == nil {
// This is the only "OK" outcome.
log.Logf(0, "vm-%v: running long enough, restarting", index)