]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: pass only host arch instead of the whole virCaps
authorPavel Hrdina <phrdina@redhat.com>
Fri, 21 Jul 2017 13:09:54 +0000 (15:09 +0200)
committerPavel Hrdina <phrdina@redhat.com>
Wed, 26 Jul 2017 13:35:24 +0000 (15:35 +0200)
commitf366cfed62969ae3ebd34d866a40ecdb01c95519
tree96bd743f46c0c3374013e5d1ca93285e4e18591a
parent13554a9e7f4e05ffd968e0f47e4f763cc157e4a8
qemu: pass only host arch instead of the whole virCaps

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@redhat.com>
Reviewed-by: Jiri Denemark <jdenemar@redhat.com>
src/qemu/qemu_capabilities.c
src/qemu/qemu_capabilities.h
src/qemu/qemu_capspriv.h
src/qemu/qemu_domain.c
src/qemu/qemu_driver.c
src/qemu/qemu_process.c
tests/qemucapsprobe.c
tests/qemucpumock.c
tests/qemuxml2argvtest.c
tests/testutilsqemu.c