]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemuTestCapsCacheInsertImpl: Require that callers always pass capabilities
authorPeter Krempa <pkrempa@redhat.com>
Fri, 3 Mar 2023 11:42:05 +0000 (12:42 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 6 Mar 2023 19:55:50 +0000 (20:55 +0100)
commitf7fa1d4e11cbc7358c7023438bcfa53354544a7a
treeacfef4ba8f3846acd9c8f40aa06c7f3e6dc5f009
parentb048218a8a4527683b655d757e555db60bef03c7
qemuTestCapsCacheInsertImpl: Require that callers always pass capabilities

There's just one case when we're populating the cache with empty caps so
that can allocate a dummy virQEMUCaps object rather than having the
logic inside qemuTestCapsCacheInsertImpl.

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