]> xenbits.xensource.com Git - people/larsk/xen.git/commit
tools/x86emul: Use struct cpuid_policy in the userspace test harnesses
authorAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 19 Jul 2018 15:51:57 +0000 (16:51 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Mon, 12 Nov 2018 18:07:16 +0000 (18:07 +0000)
commitfd35f32b4b8ae89080d247bc901c1b0ad66f37a8
tree63ebcbe5aad7bb8020a52f52192809e2a20d810f
parentc66ef0fbe12b3e1e2da849dd85e5b7fe3aa81de5
tools/x86emul: Use struct cpuid_policy in the userspace test harnesses

This will shortly be required to pass into the emulator itself.

Simplify the shared cpu_has_* helpers by reading the correct bit out of the
CPUID policy itself.

No (intended) change in behaviour.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
tools/fuzz/x86_instruction_emulator/Makefile
tools/tests/x86_emulator/Makefile
tools/tests/x86_emulator/x86-emulate.c
tools/tests/x86_emulator/x86-emulate.h