On Fri, Jul 21, 2017 at 15:30:12 +0200, Pavel Hrdina wrote:
Move all the host CPU data into a separate file and rewrite
qemucpumock
to not use passed @caps. This is preparation for following patch which
will replace virCaps argument with virArch.
Signed-off-by: Pavel Hrdina <phrdina(a)redhat.com>
---
Notes:
New in v2
tests/domaincapstest.c | 55 +----------------
tests/qemucpumock.c | 13 ++--
tests/testutilshostcpus.h | 148 ++++++++++++++++++++++++++++++++++++++++++++++
tests/testutilsqemu.c | 93 +++--------------------------
tests/testutilsxen.c | 29 +--------
5 files changed, 167 insertions(+), 171 deletions(-)
create mode 100644 tests/testutilshostcpus.h
Reviewed-by: Jiri Denemark <jdenemar(a)redhat.com>