]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Unify cached caps validity checks
authorJiri Denemark <jdenemar@redhat.com>
Thu, 27 Oct 2016 09:13:28 +0000 (11:13 +0200)
committerJiri Denemark <jdenemar@redhat.com>
Fri, 4 Nov 2016 08:38:25 +0000 (09:38 +0100)
commitc29e6d480552053e3a233e63dcb65b07f0a98247
tree8989dca527931d2c716dbc1bc93e67284e991bd1
parent729aa67db709842bd8575b375cb42f8a7b0981f4
qemu: Unify cached caps validity checks

Let's keep all run time validation of cached QEMU capabilities in
virQEMUCapsIsValid and call it whenever we access the cache.
virQEMUCapsInitCached should keep only the checks which do not make
sense once the cache is loaded in memory.

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
src/qemu/qemu_capabilities.c
src/qemu/qemu_capabilities.h