From mboxrd@z Thu Jan 1 00:00:00 1970 From: Xiao Guangrong Subject: Re: [PATCH v2 21/22] KVM: MMU: mmio page fault support Date: Thu, 23 Jun 2011 14:40:41 +0800 Message-ID: <4E02DFE9.901@cn.fujitsu.com> References: <4E01FBC9.3020009@cn.fujitsu.com> <4E01FDE0.5080800@cn.fujitsu.com> <20110622215940.GA30064@amt.cnet> <4E02B0BE.7070003@cn.fujitsu.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: Avi Kivity , LKML , KVM To: Marcelo Tosatti Return-path: In-Reply-To: <4E02B0BE.7070003@cn.fujitsu.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: kvm.vger.kernel.org On 06/23/2011 11:19 AM, Xiao Guangrong wrote: >> Otherwise you can move the mmio info from an mmio spte back to >> mmio_gva/mmio_gfn after a TLB flush, without rereading the guest >> pagetable. >> > > We do not read the guest page table when mmio page fault occurred, > we just do it as you say: > - Firstly, walk the shadow page table to get the mmio spte > - Then, cache the mmio spte info to mmio_gva/mmio_gfn > > I missed your meaning? > Marcelo, sorry for my poor English, i missed your meaning, please ignore this. :(