From 87bfb99cfe1eef9469625911574b1caab04557d3 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Wed, 20 Jun 2018 15:26:37 +0200 Subject: vm: pass instance to MonitorExecution It may need it later to try to obtain additional diagnostic from hanged instances. --- tools/syz-crush/crush.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools') 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) -- cgit mrf-deployment