]> git.proxmox.com Git - qemu-server.git/commit - PVE/QemuServer.pm
cfg2cmd: use long form QEMU parameters to avoid warning in 6.0
authorStefan Reiter <s.reiter@proxmox.com>
Thu, 27 May 2021 10:27:50 +0000 (12:27 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 28 May 2021 09:31:15 +0000 (11:31 +0200)
commit378ad769ddd11dac7344015d5d0a4695decadad4
treebad98b985b2739298d54cd801f4b297b883945e0
parent75a2a42395482811bb657a0f71235efb25c6572f
cfg2cmd: use long form QEMU parameters to avoid warning in 6.0

QEMU warns us about this:

kvm: -chardev socket,id=qmp,path=/var/run/qemu-server/100.qmp,server,nowait: warning: short-form boolean option 'server' deprecated
Please use server=on instead
kvm: -chardev socket,id=qmp,path=/var/run/qemu-server/100.qmp,server,nowait: warning: short-form boolean option 'nowait' deprecated
Please use wait=off instead
kvm: -vnc unix:/var/run/qemu-server/100.vnc,password: warning: short-form boolean option 'password' deprecated
Please use password=on instead

The new syntax is backwards compatible to at least QEMU 4.0.

Signed-off-by: Stefan Reiter <s.reiter@proxmox.com>
24 files changed:
PVE/QemuServer.pm
test/cfg2cmd/bootorder-empty.conf.cmd
test/cfg2cmd/bootorder-legacy.conf.cmd
test/cfg2cmd/bootorder.conf.cmd
test/cfg2cmd/custom-cpu-model-defaults.conf.cmd
test/cfg2cmd/custom-cpu-model-host-phys-bits.conf.cmd
test/cfg2cmd/custom-cpu-model.conf.cmd
test/cfg2cmd/efi-raw-old.conf.cmd
test/cfg2cmd/efi-raw.conf.cmd
test/cfg2cmd/i440fx-win10-hostpci.conf.cmd
test/cfg2cmd/minimal-defaults.conf.cmd
test/cfg2cmd/netdev.conf.cmd
test/cfg2cmd/pinned-version-pxe-pve.conf.cmd
test/cfg2cmd/pinned-version-pxe.conf.cmd
test/cfg2cmd/pinned-version.conf.cmd
test/cfg2cmd/q35-linux-hostpci-multifunction.conf.cmd
test/cfg2cmd/q35-linux-hostpci.conf.cmd
test/cfg2cmd/q35-win10-hostpci.conf.cmd
test/cfg2cmd/simple-virtio-blk.conf.cmd
test/cfg2cmd/simple1.conf.cmd
test/cfg2cmd/spice-enhancments.conf.cmd
test/cfg2cmd/spice-linux-4.1.conf.cmd
test/cfg2cmd/spice-usb3.conf.cmd
test/cfg2cmd/spice-win.conf.cmd