diff mbox series

[3/4,kvm-unit-test,nVMX] : Add #define for "load IA32_PERF_GLOBAL_CONTROL" bit

Message ID 20190509212055.29933-4-krish.sadhukhan@oracle.com (mailing list archive)
State New, archived
Headers show
Series : Test "load IA32_PERF_GLOBAL_CONTROL" VM-entry control on vmentry of nested guests | expand

Commit Message

Krish Sadhukhan May 9, 2019, 9:20 p.m. UTC
Signed-off-by: Krish Sadhukhan <krish.sadhukhan@oracle.com>
Reviewed-by: Karl Heubaum <karl.heubaum@oracle.com>
---
 x86/vmx.h | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/x86/vmx.h b/x86/vmx.h
index eefd5dc..a4ceac3 100644
--- a/x86/vmx.h
+++ b/x86/vmx.h
@@ -370,6 +370,7 @@  enum Ctrl_exi {
 enum Ctrl_ent {
 	ENT_LOAD_DBGCTLS	= 1UL << 2,
 	ENT_GUEST_64		= 1UL << 9,
+	ENT_LOAD_PERF		= 1UL << 13,
 	ENT_LOAD_PAT		= 1UL << 14,
 	ENT_LOAD_EFER		= 1UL << 15,
 };