]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: command: Handle formatting of '-compat' options
authorPeter Krempa <pkrempa@redhat.com>
Thu, 30 Apr 2020 11:34:28 +0000 (13:34 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 6 Apr 2021 15:08:25 +0000 (17:08 +0200)
commitc54b1bdcfb9c812a42ff48fe41e2fc8d9a0af86d
tree9a418e286c451c0ee15b00afda846a707c6ad3e4
parenta6444c80195f6b9ad4fe49a6826376c163a02fa5
qemu: command: Handle formatting of '-compat' options

Enable '-compat' if requested in qemu.conf and supported by qemu to
instruct qemu to crash when a deprecated command is used and stop
returning deprecated fields.

This setting is meant for libvirt developers and such.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Martin Kletzander <mkletzan@redhat.com>
src/qemu/qemu_command.c
tests/qemuxml2argvdata/qemu-ns.x86_64-latest.args