]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: separate virQEMUCapsInitCached out of virQEMUCapsNewForBinaryInternal
authorPavel Hrdina <phrdina@redhat.com>
Tue, 18 Jul 2017 14:14:07 +0000 (16:14 +0200)
committerPavel Hrdina <phrdina@redhat.com>
Thu, 20 Jul 2017 12:02:53 +0000 (14:02 +0200)
commit7fb4c471d1c2c0769e7fe8bbdf48270df7f21684
tree618130f39950c4b7a78d4c7b16eb06a39926a39b
parent56a047a67ea300cf8e18ebbad6041c5858fa79b3
qemu: separate virQEMUCapsInitCached out of virQEMUCapsNewForBinaryInternal

Preparation for switching to virFileCache where there are two callbacks,
one to get a new data and second one to load a cached data.

This also removes virQEMUCapsReset which is no longer required.

Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
Reviewed-by: Jiri Denemark <jdenemar@redhat.com>
src/qemu/qemu_capabilities.c
src/qemu/qemu_capspriv.h
tests/qemucapsprobe.c