aboutsummaryrefslogtreecommitdiffstats
path: root/vm/vm.go
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2016-08-30 14:33:39 +0200
committerDmitry Vyukov <dvyukov@google.com>2016-08-30 14:33:39 +0200
commitbc9b349bd77c6ccc224a8e7cf72e76595bfc0342 (patch)
treefd5e3f485dbd6ee40caa52038a117aa9e26a2359 /vm/vm.go
parent26a5cf9efa8d0fc4ffbf2f9810241d4fdead8e16 (diff)
vm/adb: support multiple adb devices
Device IDs are specified in "devices" config param.
Diffstat (limited to 'vm/vm.go')
-rw-r--r--vm/vm.go28
1 files changed, 14 insertions, 14 deletions
diff --git a/vm/vm.go b/vm/vm.go
index 45c0f53f9..1fc52514b 100644
--- a/vm/vm.go
+++ b/vm/vm.go
@@ -32,20 +32,20 @@ type Instance interface {
}
type Config struct {
- Name string
- Index int
- Workdir string
- Bin string
- Initrd string
- Kernel string
- Cmdline string
- Image string
- Sshkey string
- Executor string
- ConsoleDev string
- Cpu int
- Mem int
- Debug bool
+ Name string
+ Index int
+ Workdir string
+ Bin string
+ Initrd string
+ Kernel string
+ Cmdline string
+ Image string
+ Sshkey string
+ Executor string
+ Device string
+ Cpu int
+ Mem int
+ Debug bool
}
type ctorFunc func(cfg *Config) (Instance, error)