aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/instance/instance.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/instance/instance.go')
-rw-r--r--pkg/instance/instance.go6
1 files changed, 4 insertions, 2 deletions
diff --git a/pkg/instance/instance.go b/pkg/instance/instance.go
index 4c877a229..ef8860330 100644
--- a/pkg/instance/instance.go
+++ b/pkg/instance/instance.go
@@ -442,8 +442,9 @@ func (inst *inst) csourceOptions() (csource.Options, error) {
return opts, nil
}
-func ExecprogCmd(execprog, executor, OS, arch, sandbox string, sandboxArg int, repeat, threaded, collide bool,
- procs, faultCall, faultNth int, optionalFlags bool, slowdown int, progFile string) string {
+func ExecprogCmd(execprog, executor, OS, arch, vmType, sandbox string, sandboxArg int, repeat,
+ threaded, collide bool, procs, faultCall, faultNth int, optionalFlags bool, slowdown int,
+ progFile string) string {
repeatCount := 1
if repeat {
repeatCount = 0
@@ -463,6 +464,7 @@ func ExecprogCmd(execprog, executor, OS, arch, sandbox string, sandboxArg int, r
optionalArg += " " + tool.OptionalFlags([]tool.Flag{
{Name: "slowdown", Value: fmt.Sprint(slowdown)},
{Name: "sandboxArg", Value: fmt.Sprint(sandboxArg)},
+ {Name: "type", Value: fmt.Sprint(vmType)},
})
}