KVM/nSVM: Use the new mapping API for mapping guest memory
authorKarimAllah Ahmed <karahmed@amazon.de>
Thu, 31 Jan 2019 20:24:40 +0000 (21:24 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 30 Apr 2019 19:49:34 +0000 (21:49 +0200)
commit8c5fbf1a723107814c20c3f4d6343ab9d694a705
tree138493ff64492fccfee19e66c71d3d3c12224851
parent42e35f8072c339cbdcaf4de95dc6e1815c2797cf
KVM/nSVM: Use the new mapping API for mapping guest memory

Use the new mapping API for mapping guest memory to avoid depending on
"struct page".

Signed-off-by: KarimAllah Ahmed <karahmed@amazon.de>
Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/svm.c