From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [PATCH v2 07/22] KVM: MMU: cache mmio info on page fault path Date: Wed, 29 Jun 2011 11:48:21 +0300 Message-ID: <4E0AE6D5.6080205@redhat.com> References: <4E01FBC9.3020009@cn.fujitsu.com> <4E01FCA8.3050401@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: Received: from mx1.redhat.com ([209.132.183.28]:32195 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753750Ab1F2Is0 (ORCPT ); Wed, 29 Jun 2011 04:48:26 -0400 In-Reply-To: <4E01FCA8.3050401@cn.fujitsu.com> Sender: kvm-owner@vger.kernel.org List-ID: On 06/22/2011 05:31 PM, Xiao Guangrong wrote: > If the page fault is caused by mmio, we can cache the mmio info, later, we do > not need to walk guest page table and quickly know it is a mmio fault while we > emulate the mmio instruction Does this work if the mmio spans two pages? -- error compiling committee.c: too many arguments to function