From: Avi Kivity <avi@redhat.com>
To: Khaled Ibrahim <kzm98@hotmail.com>
Cc: kvm@vger.kernel.org
Subject: Re: Handling page faults in KVM
Date: Mon, 28 Jun 2010 06:36:00 +0300 [thread overview]
Message-ID: <4C2818A0.5080009@redhat.com> (raw)
In-Reply-To: <COL112-W42A322AC044CC15766602CB2C70@phx.gbl>
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.
prev parent reply other threads:[~2010-06-28 3:36 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-25 1:03 Handling page faults in KVM Khaled Ibrahim
2010-06-28 3:36 ` Avi Kivity [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4C2818A0.5080009@redhat.com \
--to=avi@redhat.com \
--cc=kvm@vger.kernel.org \
--cc=kzm98@hotmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox