From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcelo Tosatti Subject: Re: [RFC] concurrent guest walker and instruction emulation Date: Tue, 18 Dec 2007 08:39:12 -0500 Message-ID: <20071218133912.GA1755@dmt> References: <20071218132614.GA1504@dmt> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: Chris Wright , Avi Kivity , kvm-devel To: Marcelo Tosatti Return-path: Content-Disposition: inline In-Reply-To: <20071218132614.GA1504@dmt> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: kvm.vger.kernel.org On Tue, Dec 18, 2007 at 08:26:14AM -0500, Marcelo Tosatti wrote: > + page = __gfn_to_page(vcpu->kvm, gpa >> PAGE_SHIFT); > + spin_lock(&vcpu->kvm->mmu_lock); > kvm_mmu_pte_write(vcpu, gpa, val, bytes); This should be the gfn which the new pte points to, not its address. ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace