aboutsummaryrefslogtreecommitdiffstats
path: root/vm/vmimpl
diff options
context:
space:
mode:
Diffstat (limited to 'vm/vmimpl')
-rw-r--r--vm/vmimpl/vmimpl.go20
1 files changed, 11 insertions, 9 deletions
diff --git a/vm/vmimpl/vmimpl.go b/vm/vmimpl/vmimpl.go
index 0ef8636ee..5a8fed098 100644
--- a/vm/vmimpl/vmimpl.go
+++ b/vm/vmimpl/vmimpl.go
@@ -19,6 +19,7 @@ import (
"github.com/google/syzkaller/pkg/log"
"github.com/google/syzkaller/pkg/osutil"
"github.com/google/syzkaller/pkg/report"
+ "github.com/google/syzkaller/sys/targets"
)
// Pool represents a set of test machines (VMs, physical devices, etc) of particular type.
@@ -62,15 +63,16 @@ type Instance interface {
type Env struct {
// Unique name
// Can be used for VM name collision resolution if several pools share global name space.
- Name string
- OS string // target OS
- Arch string // target arch
- Workdir string
- Image string
- SSHKey string
- SSHUser string
- Debug bool
- Config []byte // json-serialized VM-type-specific config
+ Name string
+ OS string // target OS
+ Arch string // target arch
+ Workdir string
+ Image string
+ SSHKey string
+ SSHUser string
+ Timeouts targets.Timeouts
+ Debug bool
+ Config []byte // json-serialized VM-type-specific config
}
// BootError is returned by Pool.Create when VM does not boot.