summaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm/vmx/vmcs.h
diff options
context:
space:
mode:
authorSean Christopherson <sean.j.christopherson@intel.com>2018-12-03 13:53:05 -0800
committerPaolo Bonzini <pbonzini@redhat.com>2018-12-14 12:34:30 +0100
commit609363cf81fcbd2c7fc93d1f920cef3a71154de8 (patch)
tree70d31aafc2120db9a8a127f4564e92f5ff4080ef /arch/x86/kvm/vmx/vmcs.h
parentcb1d474b322550630841a58ea960a448fe8ddce3 (diff)
downloadlinux-609363cf81fcbd2c7fc93d1f920cef3a71154de8.tar.bz2
KVM: nVMX: Move vmcs12 code to dedicated files
vmcs12 is the KVM-defined struct used to track a nested VMCS, e.g. a VMCS created by L1 for L2. Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/kvm/vmx/vmcs.h')
-rw-r--r--arch/x86/kvm/vmx/vmcs.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/x86/kvm/vmx/vmcs.h b/arch/x86/kvm/vmx/vmcs.h
index 4112190feac1..3b8da04203e4 100644
--- a/arch/x86/kvm/vmx/vmcs.h
+++ b/arch/x86/kvm/vmx/vmcs.h
@@ -2,9 +2,11 @@
#ifndef __KVM_X86_VMX_VMCS_H
#define __KVM_X86_VMX_VMCS_H
-#include <linux/list.h>
#include <linux/ktime.h>
+#include <linux/list.h>
+#include <linux/nospec.h>
+#include <asm/kvm.h>
#include <asm/vmx.h>
#include "capabilities.h"