public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* Handling page faults in KVM
@ 2010-06-25  1:03 Khaled Ibrahim
  2010-06-28  3:36 ` Avi Kivity
  0 siblings, 1 reply; 2+ messages in thread
From: Khaled Ibrahim @ 2010-06-25  1:03 UTC (permalink / raw)
  To: kvm



Apparently, not all page faults on the guest result in a page fault in the host. I would like to intercept page faults on the guest that are not handled by the host. 
I am not quite sure where (in the source code) can I monitor that?
Can any one give me code pointers to look at?
 		 	   		  
_________________________________________________________________
Hotmail has tools for the New Busy. Search, chat and e-mail from your inbox.
http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_1

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Handling page faults in KVM
  2010-06-25  1:03 Handling page faults in KVM Khaled Ibrahim
@ 2010-06-28  3:36 ` Avi Kivity
  0 siblings, 0 replies; 2+ messages in thread
From: Avi Kivity @ 2010-06-28  3:36 UTC (permalink / raw)
  To: Khaled Ibrahim; +Cc: kvm

On 06/25/2010 04:03 AM, Khaled Ibrahim wrote:
>
> Apparently, not all page faults on the guest result in a page fault in the host. I would like to intercept page faults on the guest that are not handled by the host.
> I am not quite sure where (in the source code) can I monitor that?
> Can any one give me code pointers to look at?
>   		 	   		
>    

You need to disable ept or not, and on Intel, load the kvm_intel module 
with bypass_guest_pf=0.  With that, kvm will intercept all guest page 
faults.

-- 
I have a truly marvellous patch that fixes the bug which this
signature is too narrow to contain.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-06-28  3:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-25  1:03 Handling page faults in KVM Khaled Ibrahim
2010-06-28  3:36 ` Avi Kivity

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox