[libvirt] [PATCH v2 5/7] qemu: pass only host arch instead of the whole virCaps
Jiri Denemark
jdenemar at redhat.com
Wed Jul 26 12:32:51 UTC 2017
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 at 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 at redhat.com>
More information about the libvir-list
mailing list