lkml.org 
[lkml]   [2017]   [Feb]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] kvm: vmx: Use the hardware provided GPA instead of page walk
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@redhat.com>
> ---

In line with the SVM patch,

Reviewed-by: Radim Krčmář <rkrcmar@redhat.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()?

Thanks.

\
 
 \ /
  Last update: 2017-02-07 21:54    [W:0.060 / U:0.692 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site