[libvirt] [PATCH v2 4/7] tests: rewrite host CPU mocking
Jiri Denemark
jdenemar at redhat.com
Wed Jul 26 12:22:47 UTC 2017
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 at 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 at redhat.com>
More information about the libvir-list
mailing list