From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [RESEND PATCH 2/3] kvm, tdp: calculate correct base gfn for non-DIR level Date: Wed, 26 May 2010 13:15:45 +0300 Message-ID: <4BFCF4D1.2020501@redhat.com> References: <4BD8228D.7090708@cn.fujitsu.com> <20100429180955.GA17909@amt.cnet> <4BD9D35C.5090403@redhat.com> <20100430154427.GA32340@amt.cnet> <4BE269D4.9090108@cn.fujitsu.com> <20100506190402.GA3432@amt.cnet> <4BFCE059.60502@cn.fujitsu.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: Marcelo Tosatti , LKML , kvm@vger.kernel.org To: Lai Jiangshan Return-path: In-Reply-To: <4BFCE059.60502@cn.fujitsu.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: kvm.vger.kernel.org On 05/26/2010 11:48 AM, Lai Jiangshan wrote: > In Document/kvm/mmu.txt: > gfn: > Either the guest page table containing the translations shadowed by this > page, or the base page frame for linear translations. See role.direct. > > But in __direct_map(), the base gfn calculation is incorrect, > it does not calculate correctly when level=3 or 4. > Applied, thanks. -- error compiling committee.c: too many arguments to function