diff options
| author | Adam Goska <a@goska.xyz> | 2021-12-16 14:36:57 -0500 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2021-12-20 14:00:34 +0100 |
| commit | 62bd192bb8dd2f349b44af1a78804f988485c977 (patch) | |
| tree | 53056e52559c757cf788f6eda8f3b3897990d5e8 /vm/qemu | |
| parent | c551be8b29e95b8432aaede562fb5084967c15ac (diff) | |
vm/qemu/qemu.go: changed deprecated nowait option to preferred wait=off
Invoking qemu with the nowait option produces a warning that the
short-form boolean options are deprecated and that wait=off is
preferred.
Diffstat (limited to 'vm/qemu')
| -rw-r--r-- | vm/qemu/qemu.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vm/qemu/qemu.go b/vm/qemu/qemu.go index 957325f0a..fc12e76ea 100644 --- a/vm/qemu/qemu.go +++ b/vm/qemu/qemu.go @@ -405,7 +405,7 @@ func (inst *instance) boot() error { args := []string{ "-m", strconv.Itoa(inst.cfg.Mem), "-smp", strconv.Itoa(inst.cfg.CPU), - "-chardev", fmt.Sprintf("socket,id=SOCKSYZ,server=on,nowait,host=localhost,port=%v", inst.monport), + "-chardev", fmt.Sprintf("socket,id=SOCKSYZ,server=on,wait=off,host=localhost,port=%v", inst.monport), "-mon", "chardev=SOCKSYZ,mode=control", "-display", "none", "-serial", "stdio", |
