]> xenbits.xensource.com Git - people/andrewcoop/xen-test-framework.git/commit
vvmx: test whether MSR_FEATURE_CONTROL is set correctly
authorHaozhong Zhang <haozhong.zhang@intel.com>
Fri, 16 Dec 2016 13:43:34 +0000 (21:43 +0800)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 28 Jun 2017 14:29:14 +0000 (15:29 +0100)
commitac6151c03b14df45c2852bf52f6905e407ecd901
tree3167d6e3102fb2b886210af342288277cd5bea71
parentb8021169a0a8611d9552b6b24e3250769e5064eb
vvmx: test whether MSR_FEATURE_CONTROL is set correctly

Guest MSR_FEATURE_CONTROL is set by Xen hypervisor instead by
guest firmware or hvmloader, so this test instead checks whether bits
in MSR_FEATURE_CONTROL are set correctly, rather than requiring
they are all zeroed.

Signed-off-by: Haozhong Zhang <haozhong.zhang@intel.com>
Rebase and cleanup.
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
arch/x86/include/arch/msr-index.h
tests/vvmx/Makefile
tests/vvmx/main.c
tests/vvmx/msr.c [new file with mode: 0644]
tests/vvmx/test.h [new file with mode: 0644]