]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: conf: Add debug option to allow disabling qemu capabilities
authorPeter Krempa <pkrempa@redhat.com>
Tue, 18 Jun 2019 07:46:22 +0000 (09:46 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Fri, 21 Jun 2019 13:24:06 +0000 (15:24 +0200)
commit30ce8f316313f6e341bf66253f95e52a125b63f3
treeb7491b62c900bafebbda6c5bb638796140ccde94
parenta7d3599a4e8eb0d772a5db816b6cef8f0745a40b
qemu: conf: Add debug option to allow disabling qemu capabilities

In cases when e.g. a new feature breaks upstream behaviour it's useful
to allow users to disable the new feature to verify the regression and
possibly use it as a workaround until a fix is available.

The new qemu.conf option named "capability_filters" allows to remove
qemu capabilities from the detected bitmap.

This patch introduces the configuration infrastructure to parse the
option and pass it around.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/qemu/libvirtd_qemu.aug
src/qemu/qemu.conf
src/qemu/qemu_conf.c
src/qemu/qemu_conf.h
src/qemu/test_libvirtd_qemu.aug.in