]> xenbits.xensource.com Git - xen.git/commit
tools/cpu-policy: Add unit tests
authorAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 3 Jan 2019 18:03:25 +0000 (18:03 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 12 Mar 2019 14:12:31 +0000 (14:12 +0000)
commit919ddc3c0e566dd7a08634a074f43de998acd048
treecd7e61ee7948ba9fe76b93da0ce4a19222da15ad
parentf48363c9ca60576343d1af9f3d39ae053245dabf
tools/cpu-policy: Add unit tests

These will be extended with further libx86 work.

Fix the sorting of the CPUID_GUEST_NR_* constants, noticed while writing the
unit tests.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
tools/tests/Makefile
tools/tests/cpu-policy/.gitignore [new file with mode: 0644]
tools/tests/cpu-policy/Makefile [new file with mode: 0644]
tools/tests/cpu-policy/test-cpu-policy.c [new file with mode: 0644]
xen/include/xen/lib/x86/cpuid.h