Re: [PATCH] KVM: SVM: limit kvm_handle_page_fault to #PF handling

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2017-10-10 10:49+0200, Paolo Bonzini:
> It has always annoyed me a bit how SVM_EXIT_NPF is handled by
> pf_interception.  This is also the only reason behind the
> under-documented need_unprotect argument to kvm_handle_page_fault.
> Let NPF go straight to kvm_mmu_page_fault, just like VMX
> does in handle_ept_violation and handle_ept_misconfig.
> 
> Signed-off-by: Paolo Bonzini <pbonzini@xxxxxxxxxx>
> ---

And we also drop the unneeded pv async_pf switch,

Reviewed-by: Radim Krčmář <rkrcmar@xxxxxxxxxx>



[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux