]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: domcaps: Simplify adding new domaincaps based on qemu caps
authorPeter Krempa <pkrempa@redhat.com>
Wed, 30 Oct 2019 15:40:03 +0000 (16:40 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Thu, 14 Nov 2019 14:50:43 +0000 (15:50 +0100)
commitffd151d17be1d99794bcd972bcc568dc73c8bf64
tree4e1005466e92d058591fc3e7d325d3055f5f27ec
parentcaa6dc3b31bba62a2b55975d605bb3e6d6c390ac
qemu: domcaps: Simplify adding new domaincaps based on qemu caps

Add a helper which converts qemu emulator capabilities to the domain
capability XML. This will simplify future additions of new features.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/qemu/qemu_capabilities.c