qemu/hw/s390x
Tony Krowiak 2eb1cd0768 s390x: CPACF: Handle key wrap machine options
Check for the aes_key_wrap and dea_key_wrap machine options and set the
appropriate KVM device attribute(s) to tell the kernel to enable or disable
the AES/DEA protected key functions for the guest domain.

This patch introduces two new machine options for indicating the state of
AES/DEA key wrapping functions.  This controls whether the guest will
have access to the AES/DEA crypto functions.

aes_key_wrap="on | off" is changed to aes-key-wrap="on | off"
dea_key_wrap="on | off" is changed to dea-key-wrap="on | off"

Check for the aes-key-wrap and dea-key-wrap machine options and set the
appropriate KVM device attribute(s) to tell the kernel to enable or disable
the AES/DEA protected key functions for the guest domain.

Reviewed-by: David Hildenbrand <dahi@linux.vnet.ibm.com>
Signed-off-by: Tony Krowiak <akrowiak@linux.vnet.ibm.com>
Signed-off-by: Jens Freimann <jfrei@linux.vnet.ibm.com>
Message-Id: <1426164834-38648-4-git-send-email-jfrei@linux.vnet.ibm.com>
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
2015-03-16 10:20:11 +01:00
..
css.c s390x/ioinst: Rework memory access in STCRW instruction 2015-02-18 09:37:15 +01:00
css.h s390: Add PCI bus support 2015-01-12 10:14:04 +01:00
event-facility.c s390x: Drop not used allow_hotplug in event-facility 2014-10-15 05:03:13 +02:00
ipl.c s390/bios: Make the s390-ccw.img relocatable 2015-03-11 11:15:38 +01:00
ipl.h s390x/ipl: drop reipl parameters on resets 2015-02-13 16:14:09 +01:00
Makefile.objs s390: implement pci instructions 2015-01-12 10:14:04 +01:00
s390-pci-bus.c s390x/pci: check for invalid function handle 2015-02-03 13:42:40 +01:00
s390-pci-bus.h s390: Add PCI bus support 2015-01-12 10:14:04 +01:00
s390-pci-inst.c s390x/pci: Rework memory access in zpci instruction 2015-02-18 09:37:15 +01:00
s390-pci-inst.h s390: implement pci instructions 2015-01-12 10:14:04 +01:00
s390-virtio-bus.c virtio-s390: Convert to realize() 2015-03-10 09:26:23 +01:00
s390-virtio-bus.h virtio-s390: Convert to realize() 2015-03-10 09:26:23 +01:00
s390-virtio-ccw.c s390x: CPACF: Handle key wrap machine options 2015-03-16 10:20:11 +01:00
s390-virtio-hcall.c s390x/virtio-hcall: Specification exception for illegal subcodes 2014-02-27 09:51:25 +01:00
s390-virtio.c s390x/kvm: Guest Migration TOD clock synchronization 2015-03-16 10:15:44 +01:00
s390-virtio.h s390: use standard headers 2015-02-26 13:04:06 +01:00
sclp.c s390: Add PCI bus support 2015-01-12 10:14:04 +01:00
sclpcpu.c s390x/cpu hotplug: Fix memory leak 2014-03-17 22:01:19 +01:00
sclpquiesce.c savevm: Remove all the unneeded version_minimum_id_old (rest) 2014-05-14 15:24:51 +02:00
virtio-ccw.c virtio-ccw: assure BE accesses 2015-03-16 10:15:45 +01:00
virtio-ccw.h virtio-ccw: Convert to realize() 2015-03-10 09:26:23 +01:00