]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - arch/s390/kvm/kvm-s390.c
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)
commita374e892c3421f81a71e85d5a8c526959221f279
tree4c57b494fc2d530fd1457472f4b850989ec68d57
parent72f250206f0f291190ab7f54e4d92ab211779929
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