]> xenbits.xensource.com Git - libvirt.git/commit
tests: rewrite host CPU mocking
authorPavel Hrdina <phrdina@redhat.com>
Fri, 21 Jul 2017 12:24:51 +0000 (14:24 +0200)
committerPavel Hrdina <phrdina@redhat.com>
Wed, 26 Jul 2017 13:35:02 +0000 (15:35 +0200)
commit13554a9e7f4e05ffd968e0f47e4f763cc157e4a8
tree904722b2a32c95c6100ee2640be4464550ef7863
parent731cfd5fe8fd97b9580e22f1005bc57b5563470f
tests: rewrite host CPU mocking

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@redhat.com>
Reviewed-by: Jiri Denemark <jdenemar@redhat.com>
tests/domaincapstest.c
tests/qemucpumock.c
tests/testutilshostcpus.h [new file with mode: 0644]
tests/testutilsqemu.c
tests/testutilsxen.c