From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: Some questions about processing page fault in kvm Date: Sun, 25 Jul 2010 21:16:47 +0300 Message-ID: <4C4C7F8F.3050903@redhat.com> References: <4C4BFB63.2000700@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org To: "Gu, Zhongshu" Return-path: Received: from mx1.redhat.com ([209.132.183.28]:16787 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752115Ab0GYSQw (ORCPT ); Sun, 25 Jul 2010 14:16:52 -0400 In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: 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.