On Fri, Jul 21, 2017 at 15:30:13 +0200, Pavel Hrdina wrote:
This is a preparation for following patches where we switch to
virFileCache for QEMU capabilities cache
The host arch will always remain the same but virCaps may change. Now
the host arch is stored while creating new qemu capabilities cache.
It removes the need to pass virCaps into virQEMUCapsCache*() functions.
Signed-off-by: Pavel Hrdina <phrdina(a)redhat.com>
---
Notes:
New in v2
src/qemu/qemu_capabilities.c | 61 +++++++++++++++++++++-----------------------
src/qemu/qemu_capabilities.h | 9 +++----
src/qemu/qemu_capspriv.h | 11 +++++---
src/qemu/qemu_domain.c | 17 +++++-------
src/qemu/qemu_driver.c | 8 +++---
src/qemu/qemu_process.c | 9 +++----
tests/qemucapsprobe.c | 3 ++-
tests/qemucpumock.c | 3 ++-
tests/qemuxml2argvtest.c | 9 +++++--
tests/testutilsqemu.c | 5 +++-
10 files changed, 67 insertions(+), 68 deletions(-)
Reviewed-by: Jiri Denemark <jdenemar(a)redhat.com>