On Thu, Nov 21, 2019 at 11:32:22AM +0100, Paolo Bonzini wrote: > On 19/11/19 09:49, Yang Weijiang wrote: > > @@ -5400,6 +5434,10 @@ int kvm_mmu_page_fault(struct kvm_vcpu *vcpu, gva_t cr2, u64 error_code, > > r = vcpu->arch.mmu->page_fault(vcpu, cr2, > > lower_32_bits(error_code), > > false); > > + > > + if (vcpu->run->exit_reason == KVM_EXIT_SPP) > > + return 0; > > + > > Instead of this, please add a RET_PF_USERSPACE case to the RET_PF_* enum > in mmu.c. OK, will add it, thank you! > > Paolo