aboutsummaryrefslogtreecommitdiffstats
path: root/vm/vmimpl
diff options
context:
space:
mode:
authorjuanPabloMiceli <48705702+juanPabloMiceli@users.noreply.github.com>2023-01-19 15:59:14 -0500
committerGitHub <noreply@github.com>2023-01-19 15:59:14 -0500
commit551737f1076a910f809cc27ac629c587bc84fc2d (patch)
tree7e847ee19f02e49269ac04437a5e62852aa2bf7e /vm/vmimpl
parent71197f3ac138d7cb03551b7d2159bfc4ecf5c5c2 (diff)
vm/starnix: add support for fuzzing starnix (#3624)
This commit adds a new VM for fuzzing starnix. The VM will boot a fuchsia image using the `ffx` tool and will connect to an adb server inside it. Fuzzing will be done using HostFuzzer mode due to some features not being implemented yet in starnix. Once this is possible, fuzzing will be performed without HostFuzzer mode. Co-authored-by: Juampi Miceli <jpmiceli@google.com>
Diffstat (limited to 'vm/vmimpl')
-rw-r--r--vm/vmimpl/vmimpl.go21
1 files changed, 11 insertions, 10 deletions
diff --git a/vm/vmimpl/vmimpl.go b/vm/vmimpl/vmimpl.go
index 5ec84b35d..10de2ffed 100644
--- a/vm/vmimpl/vmimpl.go
+++ b/vm/vmimpl/vmimpl.go
@@ -71,16 +71,17 @@ type Infoer 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
- Timeouts targets.Timeouts
- 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
+ KernelSrc string
}
// BootError is returned by Pool.Create when VM does not boot.