public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Avi Kivity <avi@redhat.com>
To: "Gu, Zhongshu" <gzs715@gmail.com>
Cc: kvm@vger.kernel.org
Subject: Re: Some questions about processing page fault in kvm
Date: Sun, 25 Jul 2010 21:16:47 +0300	[thread overview]
Message-ID: <4C4C7F8F.3050903@redhat.com> (raw)
In-Reply-To: <AANLkTi=5DdJKkRqNcU51GWXmZjmA_Vi2ws6eX37t1OZQ@mail.gmail.com>

  On 07/25/2010 07:31 PM, Gu, Zhongshu wrote:
>
>> Yes.  Some page faults are delivered directly to the guest, though.  These
>> are all guest faults with ept or npt enabled, and some not-present faults on
>> Intel in shadow mode.
> So if i set the module parameter of bypass_guest_pf to 0, all the page
> faults will cause vm exit. Is that right?

It is (in addition, make sure ept=0).

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


  reply	other threads:[~2010-07-25 18:16 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-23 15:02 Some questions about processing page fault in kvm Gu, Zhongshu
2010-07-25  8:52 ` Avi Kivity
2010-07-25 16:31   ` Gu, Zhongshu
2010-07-25 18:16     ` Avi Kivity [this message]
2010-08-04 23:12     ` Virtualization technology conferences/tutorials/courses to attend?Wednesday, August 4, 2010 6:59 PM Anjali Kulkarni
2010-08-04 23:17       ` Virtualization technology conferences/tutorials/courses to attend? Anjali Kulkarni
2010-08-05  2:26         ` Anthony Liguori

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=4C4C7F8F.3050903@redhat.com \
    --to=avi@redhat.com \
    --cc=gzs715@gmail.com \
    --cc=kvm@vger.kernel.org \
    /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