]> git.ipfire.org Git - thirdparty/libvirt.git/commit
tests: allow setting extra capabilities on top of versioned caps
authorDaniel P. Berrangé <berrange@redhat.com>
Thu, 9 Dec 2021 14:57:05 +0000 (09:57 -0500)
committerDaniel P. Berrangé <berrange@redhat.com>
Thu, 16 Dec 2021 18:10:33 +0000 (18:10 +0000)
commita4efca76958df02c329ef54b714125c8883f0e50
treecb168579672a453dad1563c76aab34e05328c29c
parent1826716c1fecdc59b7e58cf1b2b99714cb50f7b6
tests: allow setting extra capabilities on top of versioned caps

In the QEMU tests a test can either use an explicitly listed set of
capabilities, or can request those matching a particular QEMU
version. Sometimes it is desirable to be able to list extra caps
on top of those implied by a particular version.

This is useful, for example, when QEMU won't report certain features
unless it was run on particular hardware or kernels, and those were
not used when a caps snapshot was imported to the libvirt source tree.

Reviewed-by: Peter Krempa <pkrempa@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
tests/testutilsqemu.c