aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2018-09-19 13:11:51 +0200
committerDmitry Vyukov <dvyukov@google.com>2018-09-20 14:53:48 +0200
commit1c10e8337a8f7497758058da87032bb844e87dea (patch)
tree26d8b6471c36ebf8a582fd9c1f323539ceaf41f1
parent845e8c5895c22aed67742893fed6553eeecda18c (diff)
vm/vmm: don't prefix vm name with syzkaller
I am getting: failed to run vmctl -name syzkaller-ci-openbsd-main-test-0 vmctl: name too long The name is auto-generated from parts which ensure that it is unique. We can't easily name it shorter. So strip the syzkaller prefix, which is not strictly necessary.
-rw-r--r--vm/vmm/vmm.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm/vmm/vmm.go b/vm/vmm/vmm.go
index 4d67fc67e..dcf417f17 100644
--- a/vm/vmm/vmm.go
+++ b/vm/vmm/vmm.go
@@ -100,7 +100,7 @@ func (pool *Pool) Create(workdir string, index int) (vmimpl.Instance, error) {
return nil, err
}
- name := fmt.Sprintf("syzkaller-%v-%v", pool.env.Name, index)
+ name := fmt.Sprintf("%v-%v", pool.env.Name, index)
inst := &instance{
cfg: pool.cfg,
index: index,