]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: s390/cpacf: Enable/disable protected key functions for kvm guest
authorTony Krowiak <akrowiak@linux.vnet.ibm.com>
Wed, 3 Sep 2014 08:13:53 +0000 (10:13 +0200)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Fri, 23 Jan 2015 12:25:40 +0000 (13:25 +0100)
commit400e9762fdb7ce708f17d5fae4a356658132660d
tree4c57b494fc2d530fd1457472f4b850989ec68d57
parent68aa8d1ea86f915388f0e274b4507bf8211e29ff
KVM: s390/cpacf: Enable/disable protected key functions for kvm guest

Created new KVM device attributes for indicating whether the AES and
DES/TDES protected key functions are available for programs running
on the KVM guest.  The attributes are used to set up the controls in
the guest SIE block that specify whether programs running on the
guest will be given access to the protected key functions available
on the s390 hardware.

Signed-off-by: Tony Krowiak <akrowiak@linux.vnet.ibm.com>
Reviewed-by: David Hildenbrand <dahi@linux.vnet.ibm.com>
Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Reviewed-by: Michael Mueller <mimu@linux.vnet.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
[split MSA4/protected key into two patches]
arch/s390/include/asm/kvm_host.h
arch/s390/include/uapi/asm/kvm.h
arch/s390/kvm/kvm-s390.c