From: Paolo Bonzini Subject: Re: [PATCH 8/8] kvm: nVMX: Defer gpa->hpa lookups for set_vmx_state Date: Sat, 10 Dec 2016 02:48:56 -0500 (EST) Message-ID: <121268975.2777293.1481356136501.JavaMail.zimbra@redhat.com> References: <1480536229-11754-1-git-send-email-jmattson@google.com> <1480536229-11754-9-git-send-email-jmattson@google.com> <8d21bc1e-53f7-d5d5-6317-8881489655f4@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org To: Jim Mattson Return-path: Received: from mx6-phx2.redhat.com ([209.132.183.39]:56704 "EHLO mx6-phx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751972AbcLJHtA (ORCPT ); Sat, 10 Dec 2016 02:49:00 -0500 In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: > This may be an artifact of our userspace agent that isn't shared by > qemu. I can drop this from the upstream patch set, if you like. No, I think it makes sense, it just needs a better commit message. Paolo > On Fri, Dec 9, 2016 at 7:35 AM, Paolo Bonzini wrote: > > > > > > 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 >