From mboxrd@z Thu Jan 1 00:00:00 1970 From: Radim =?utf-8?B?S3LEjW3DocWZ?= Subject: Re: [PATCH] kvm: vmx: Use the hardware provided GPA instead of page walk Date: Tue, 7 Feb 2017 21:52:49 +0100 Message-ID: <20170207205248.GE31091@potion> References: <1485542088-18610-1-git-send-email-pbonzini@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Cc: linux-kernel@vger.kernel.org, kvm@vger.kernel.org To: Paolo Bonzini Return-path: Content-Disposition: inline In-Reply-To: <1485542088-18610-1-git-send-email-pbonzini@redhat.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: kvm.vger.kernel.org 2017-01-27 19:34+0100, Paolo Bonzini: > As in the SVM patch, the guest physical address is passed by > VMX to x86_emulate_instruction already, so mark the GPA as available > in vcpu->arch. > > Signed-off-by: Paolo Bonzini > --- In line with the SVM patch, Reviewed-by: Radim Krčmář Still, I don't see why we need a variable that is touched on every VM exit. Is this a mere shortcut to propagating the gpa_available bit with the gpa argument to kvm_mmu_page_fault() and x86_emulate_instruction()? Thanks.