From 62bd192bb8dd2f349b44af1a78804f988485c977 Mon Sep 17 00:00:00 2001 From: Adam Goska Date: Thu, 16 Dec 2021 14:36:57 -0500 Subject: 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. --- vm/qemu/qemu.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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", -- cgit mrf-deployment