[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <3a4399fa-ad9b-c728-2c64-72213685ca28@redhat.com>
Date: Wed, 8 Feb 2017 09:16:12 +0100
From: Paolo Bonzini <pbonzini@...hat.com>
To: Radim Krčmář <rkrcmar@...hat.com>
Cc: linux-kernel@...r.kernel.org, kvm@...r.kernel.org
Subject: Re: [PATCH] kvm: vmx: Use the hardware provided GPA instead of page
walk
On 07/02/2017 21:52, Radim Krčmář wrote:
> 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 <pbonzini@...hat.com>
>> ---
>
> In line with the SVM patch,
>
> Reviewed-by: Radim Krčmář <rkrcmar@...hat.com>
>
> 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()?
Yes, pretty much.
Paolo
Powered by blists - more mailing lists