arch/x86/kvm/vmx/common.h
0 → 100644
+34
−0
+3
−22
Loading
The difference of TDX EPT violation is how to retrieve information, GPA, and exit qualification. To share the code to handle EPT violation, split out the guts of EPT violation handler so that VMX/TDX exit handler can call it after retrieving GPA and exit qualification. Signed-off-by:Sean Christopherson <sean.j.christopherson@intel.com> Co-developed-by:
Isaku Yamahata <isaku.yamahata@intel.com> Signed-off-by:
Isaku Yamahata <isaku.yamahata@intel.com> Co-developed-by:
Rick Edgecombe <rick.p.edgecombe@intel.com> Signed-off-by:
Rick Edgecombe <rick.p.edgecombe@intel.com> Signed-off-by:
Yan Zhao <yan.y.zhao@intel.com> Reviewed-by:
Paolo Bonzini <pbonzini@redhat.com> Reviewed-by:
Kai Huang <kai.huang@intel.com> Reviewed-by:
Binbin Wu <binbin.wu@linux.intel.com> Message-ID: <20241112073528.22042-1-yan.y.zhao@intel.com> Signed-off-by:
Paolo Bonzini <pbonzini@redhat.com>