diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2018-06-20 15:31:06 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2018-06-22 16:40:45 +0200 |
| commit | 9a7d0a5412c35bdc7d0ec09fc21c1d4277e62d31 (patch) | |
| tree | 1207e6d0211b43ed470e5cb8ef76da854e8fa082 /pkg/instance | |
| parent | 87bfb99cfe1eef9469625911574b1caab04557d3 (diff) | |
pkg/report: pass vm type to NewReporter
For the case when VM type affects output.
Will be needed for gvisor. It is kinda linux, but kinda not.
Diffstat (limited to 'pkg/instance')
| -rw-r--r-- | pkg/instance/instance.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/instance/instance.go b/pkg/instance/instance.go index 2410713ae..b5f44376c 100644 --- a/pkg/instance/instance.go +++ b/pkg/instance/instance.go @@ -118,8 +118,8 @@ func (env *Env) Test(numVMs int, reproSyz, reproOpts, reproC []byte) ([]error, e if err := mgrconfig.Complete(env.cfg); err != nil { return nil, err } - reporter, err := report.NewReporter(env.cfg.TargetOS, env.cfg.KernelSrc, - filepath.Dir(env.cfg.Vmlinux), nil, env.cfg.ParsedIgnores) + reporter, err := report.NewReporter(env.cfg.TargetOS, env.cfg.Type, + env.cfg.KernelSrc, filepath.Dir(env.cfg.Vmlinux), nil, env.cfg.ParsedIgnores) if err != nil { return nil, err } |
