Re: Nested Page Faults

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

 



On 14.05.2010, at 15:15, Matteo Signorini wrote:

> Hi to all,
> 
> I am working on NPT and have some doubts.
> Please correct me if I am wrong,
> 
> In NPT only the first time a page fault happens it is trapped by the host.
> The following page faults are not trapped by the host in order to
> reduce page walk overhead.
> 
> My question is...
> 
> Which Kvm function handles the "nested page fault"?

The exit code is SVM_EXIT_NPF. Just search for the handler in svm.c:svm_exit_handlers.

        [SVM_EXIT_NPF]                          = pf_interception,

So it gets handled in pf_interception.


Alex

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[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