summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/uapi/asm/vmx.h
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2016-10-25 16:06:30 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2016-11-02 21:32:17 +0100
commit1b07304c587d4fe572ea50bdefaa6047dc9a6d1a (patch)
tree4112c73f6074a428bd78658dac2d9ad9d7ed1460 /arch/x86/include/uapi/asm/vmx.h
parent5587859fb1e8bea5e3b8a0ab7866526ad7d1d673 (diff)
downloadlinux-0-day-1b07304c587d4fe572ea50bdefaa6047dc9a6d1a.tar.gz
linux-0-day-1b07304c587d4fe572ea50bdefaa6047dc9a6d1a.tar.xz
KVM: nVMX: support descriptor table exits
These are never used by the host, but they can still be reflected to the guest. Tested-by: Ladi Prosek <lprosek@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/include/uapi/asm/vmx.h')
-rw-r--r--arch/x86/include/uapi/asm/vmx.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/x86/include/uapi/asm/vmx.h b/arch/x86/include/uapi/asm/vmx.h
index 37fee272618f1..f9dea4fd41072 100644
--- a/arch/x86/include/uapi/asm/vmx.h
+++ b/arch/x86/include/uapi/asm/vmx.h
@@ -65,6 +65,8 @@
#define EXIT_REASON_TPR_BELOW_THRESHOLD 43
#define EXIT_REASON_APIC_ACCESS 44
#define EXIT_REASON_EOI_INDUCED 45
+#define EXIT_REASON_GDTR_IDTR 46
+#define EXIT_REASON_LDTR_TR 47
#define EXIT_REASON_EPT_VIOLATION 48
#define EXIT_REASON_EPT_MISCONFIG 49
#define EXIT_REASON_INVEPT 50
@@ -113,6 +115,8 @@
{ EXIT_REASON_MCE_DURING_VMENTRY, "MCE_DURING_VMENTRY" }, \
{ EXIT_REASON_TPR_BELOW_THRESHOLD, "TPR_BELOW_THRESHOLD" }, \
{ EXIT_REASON_APIC_ACCESS, "APIC_ACCESS" }, \
+ { EXIT_REASON_GDTR_IDTR, "GDTR_IDTR" }, \
+ { EXIT_REASON_LDTR_TR, "LDTR_TR" }, \
{ EXIT_REASON_EPT_VIOLATION, "EPT_VIOLATION" }, \
{ EXIT_REASON_EPT_MISCONFIG, "EPT_MISCONFIG" }, \
{ EXIT_REASON_INVEPT, "INVEPT" }, \