]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Add support for controling qemu capabilities via the qemu XML namespace
authorPeter Krempa <pkrempa@redhat.com>
Mon, 17 Jun 2019 15:17:56 +0000 (17:17 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Fri, 21 Jun 2019 13:24:06 +0000 (15:24 +0200)
commitc6da5913d993f9f5e1650ca1677e11e25b594e2e
tree47c578c5b605f63b5b3c26640ec149649858d4a6
parentca62170e8cf300994aa2c9442f2068e403fc3990
qemu: Add support for controling qemu capabilities via the qemu XML namespace

Similarly how we allow adding arbitrary command line arguments and
environment variables this patch introduces the ability to control
libvirt's perception of the qemu process by tweaking the capability bits
for testing purposes.

The idea is to allow developers and users either test a new feature by
enabling it early or disabling it to see whether it introduced
regressions.

This feature is not meant for production use though, so users should
handle it with care.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
docs/drvqemu.html.in
docs/schemas/domaincommon.rng
src/qemu/qemu_domain.c
src/qemu/qemu_domain.h
tests/qemuxml2argvdata/qemu-ns.xml