KVM: S390: Create helper function get_guest_storage_key
authorJason J. Herne <jjherne@linux.vnet.ibm.com>
Tue, 23 Sep 2014 13:18:57 +0000 (09:18 -0400)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Fri, 28 Nov 2014 12:58:48 +0000 (13:58 +0100)
commit9fcf93b5de063e5cadb95a7bd0130bf73edcd3b5
tree5c3f3f03d464210dbd82c64b0b04a67eadadda21
parentda00fcbdac1b00bf33b71093047e975cc1f68779
KVM: S390: Create helper function get_guest_storage_key

Define get_guest_storage_key which can be used to get the value of a guest
storage key. This compliments the functionality provided by the helper function
set_guest_storage_key. Both functions are needed for live migration of s390
guests that use storage keys.

Signed-off-by: Jason J. Herne <jjherne@linux.vnet.ibm.com>
Reviewed-by: David Hildenbrand <dahi@linux.vnet.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
arch/s390/include/asm/pgalloc.h
arch/s390/mm/pgtable.c