From: Paolo Bonzini Subject: Re: [PATCH 8/8] kvm: nVMX: Defer gpa->hpa lookups for set_vmx_state Date: Fri, 9 Dec 2016 16:35:26 +0100 Message-ID: <8d21bc1e-53f7-d5d5-6317-8881489655f4@redhat.com> References: <1480536229-11754-1-git-send-email-jmattson@google.com> <1480536229-11754-9-git-send-email-jmattson@google.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit To: Jim Mattson , kvm@vger.kernel.org Return-path: Received: from mail-wm0-f41.google.com ([74.125.82.41]:36506 "EHLO mail-wm0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750881AbcLIPfd (ORCPT ); Fri, 9 Dec 2016 10:35:33 -0500 Received: by mail-wm0-f41.google.com with SMTP id g23so30329464wme.1 for ; Fri, 09 Dec 2016 07:35:32 -0800 (PST) In-Reply-To: <1480536229-11754-9-git-send-email-jmattson@google.com> Sender: kvm-owner@vger.kernel.org List-ID: On 30/11/2016 21:03, Jim Mattson wrote: > Prepare_vmcs02 needs to be able to translate some guest physical > addresses to host physical addresses, but this isn't possible until > the vcpu is running. Can you explain why in more detail? Also, please just squash this in patch 7. Paolo > When entering VMX non-root operation from set_vmx_state, queue a request > to perform the gpa->hpa lookups at the next vcpu_run. > > Signed-off-by: Jim Mattson