Messages in this thread | | | Date | Tue, 13 Jul 2021 20:57:53 +0000 | From | Sean Christopherson <> | Subject | Re: [RFC PATCH v2 52/69] KVM: VMX: Split out guts of EPT violation to common/exposed function |
| |
On Tue, Jul 06, 2021, Paolo Bonzini wrote: > On 03/07/21 00:04, isaku.yamahata@intel.com wrote: > > +static inline int __vmx_handle_ept_violation(struct kvm_vcpu *vcpu, gpa_t gpa, > > + unsigned long exit_qualification) > > +{
...
> > +} > > +
...
> > @@ -5379,7 +5356,7 @@ static int handle_ept_violation(struct kvm_vcpu *vcpu) > > if (unlikely(allow_smaller_maxphyaddr && kvm_vcpu_is_illegal_gpa(vcpu, gpa))) > > return kvm_emulate_instruction(vcpu, 0); > > - return kvm_mmu_page_fault(vcpu, gpa, error_code, NULL, 0); > > + return __vmx_handle_ept_violation(vcpu, gpa, exit_qualification); > > } > > static int handle_ept_misconfig(struct kvm_vcpu *vcpu) > > > > This should be in main.c, not in a header (and named > __vt_handle_ept_qualification).
Yar, though I'm guessing you meant __vt_handle_ept_violation?
| |