From bc9b349bd77c6ccc224a8e7cf72e76595bfc0342 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Tue, 30 Aug 2016 14:33:39 +0200 Subject: vm/adb: support multiple adb devices Device IDs are specified in "devices" config param. --- vm/vm.go | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'vm/vm.go') 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) -- cgit mrf-deployment