[libvirt] [PATCH 08/11] qemu: separate virQEMUCapsInitCached out of virQEMUCapsNewForBinaryInternal

Jiri Denemark jdenemar at redhat.com
Tue Jul 18 12:24:19 UTC 2017


On Mon, Jul 10, 2017 at 14:46:47 +0200, Pavel Hrdina wrote:
> 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 at redhat.com>
> ---
>  src/qemu/qemu_capabilities.c | 141 +++++++++++++++++++------------------------
>  src/qemu/qemu_capspriv.h     |   1 -
>  tests/qemucapsprobe.c        |   2 +-
>  3 files changed, 63 insertions(+), 81 deletions(-)

The code looks a lot better after this patch. Once you move the two
hunks from the previous patch here, of course.

Jirka




More information about the libvir-list mailing list