From: Avi Kivity Subject: Re: [PATCH 1/3] KVM: x86: fix broken read emulation spans a page boundary Date: Thu, 14 Jul 2011 11:59:09 +0300 Message-ID: <4E1EAFDD.1080406@redhat.com> References: <4E1D3BAC.5090109@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 To: Xiao Guangrong Return-path: In-Reply-To: <4E1D3BAC.5090109@cn.fujitsu.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: kvm.vger.kernel.org On 07/13/2011 09:31 AM, Xiao Guangrong wrote: > If the range spans a page boundary, the mmio access can be broke, fix it as > write emulation. > > And we already get the guest physical address, so use it to read guest data > directly to avoid walking guest page table again Applied all, thanks. -- error compiling committee.c: too many arguments to function