KVM: s390: Add a generic function for translating guest addresses
authorThomas Huth <thuth@linux.vnet.ibm.com>
Tue, 4 Feb 2014 13:43:25 +0000 (14:43 +0100)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Fri, 30 May 2014 07:39:35 +0000 (09:39 +0200)
commit9fbc02760d61fddc7716f9e6aa6ed1ff33e65405
tree4aa1295e469db401198a93692301ef61173f5765
parent1f854112553a1d65363ab27d4ee3dfb4b27075fb
KVM: s390: Add a generic function for translating guest addresses

This patch adds a function for translating logical guest addresses into
physical guest addresses without touching the memory at the given location.

Signed-off-by: Thomas Huth <thuth@linux.vnet.ibm.com>
Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com>
arch/s390/kvm/gaccess.c
arch/s390/kvm/gaccess.h