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.
This commit is contained in:
Dmitry Vyukov 2018-09-19 13:11:51 +02:00
parent 845e8c5895
commit 1c10e8337a

View File

@ -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,