]> 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)
commit6a0c70f5378cdf3183866b06ce244dae56c1c7a4
tree4c57b494fc2d530fd1457472f4b850989ec68d57
parent20ea9c1b581c66f7ac1b2f1bfe487ce78d99e3eb
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