]> git.baikalelectronics.ru Git - kernel.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)
commit2daaee4b20729eda5d0a10a5d6e038e6d1e66293
tree2283daed975421413d7afc6daf25de90759c8751
parent7903206c37d33424298a1410620a6d3ab00e9b49
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