]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
KVM: nVMX: get rid of nested_get_page()
authorDavid Hildenbrand <david@redhat.com>
Thu, 3 Aug 2017 16:11:04 +0000 (18:11 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 7 Aug 2017 13:27:00 +0000 (15:27 +0200)
commit5e2f30b756a37bd80c5b0471d0e10d769ab2eb9a
tree2283daed975421413d7afc6daf25de90759c8751
parent90a2db6d86878f6cf34935092e4320ec71971c80
KVM: nVMX: get rid of nested_get_page()

nested_get_page() just sounds confusing. All we want is a page from G1.
This is even unrelated to nested.

Let's introduce kvm_vcpu_gpa_to_page() so we don't get too lengthy
lines.

Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
[Squash pasto fix from Wanpeng Li. - Paolo]
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/vmx.c
include/linux/kvm_host.h