From: Marcelo Tosatti Subject: Re: [PATCH] get rid of mmu_only parameter in emulator_write_emulated() Date: Wed, 14 Apr 2010 14:20:35 -0300 Message-ID: <20100414172035.GB5797@amt.cnet> References: <20100413072156.GF23554@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: avi@redhat.com, kvm@vger.kernel.org To: Gleb Natapov Return-path: Received: from mx1.redhat.com ([209.132.183.28]:39125 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756452Ab0DNRqh (ORCPT ); Wed, 14 Apr 2010 13:46:37 -0400 Received: from int-mx08.intmail.prod.int.phx2.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o3EHkbTM026091 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 14 Apr 2010 13:46:37 -0400 Content-Disposition: inline In-Reply-To: <20100413072156.GF23554@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: On Tue, Apr 13, 2010 at 10:21:56AM +0300, Gleb Natapov wrote: > May be I am missing something here, but it seams we can call > kvm_mmu_pte_write() directly from emulator_cmpxchg_emulated() > instead of passing mmu_only down to emulator_write_emulated_onepage() > and call it there. > > Signed-off-by: Gleb Natapov Applied, thanks.