On Wed, Oct 4, 2023 at 6:26 PM Sean Christopherson <seanjc@xxxxxxxxxx> wrote: > > ...isn't helpful because it doesn't provide any > insight into the actual impact of the change, i.e. requires the reader to already > know exactly how and when kvm_handle_error_pfn() is used. Ah, true. Hopefully the following is better? > KVM: x86: Annotate hva->hpa translation failures in stage-2 fault path > > Set up a KVM_EXIT_MEMORY_FAULT in cases where the stage-2 fault exit > handler successfully translates a GPA to an HVA, but fails to translate > the HVA to an HPA via GUP. This provides information to userspace which it > could potentially use, for instance to resolve the failure. Maybe the "via GUP" isn't really doing anything there