OSDN Git Service

kvm: vmx: Use the hardware provided GPA instead of page walk
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 8 Dec 2016 14:31:41 +0000 (15:31 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 15 Feb 2017 13:54:32 +0000 (14:54 +0100)
commitdb1c056cee59f4a7670c3bd9ee1657468cf0b4c4
tree222039abc021f58c114ba5370e49101ae45ac847
parentee10689117c0186fd4fe7feca8d48c7316f65d70
kvm: vmx: Use the hardware provided GPA instead of page walk

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>
arch/x86/kvm/vmx.c