diff options
Diffstat (limited to 'vm')
| -rw-r--r-- | vm/vm.go | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -107,7 +107,8 @@ func (inst *Instance) Close() { // outc/errc is what vm.Instance.Run returns, reporter parses kernel output for oopses. // If canExit is false and the program exits, it is treated as an error. // Returns a non-symbolized crash report, or nil if no error happens. -func MonitorExecution(outc <-chan []byte, errc <-chan error, reporter report.Reporter, canExit bool) ( +func (inst *Instance) MonitorExecution(outc <-chan []byte, errc <-chan error, + reporter report.Reporter, canExit bool) ( rep *report.Report) { var output []byte waitForOutput := func() { |
