• T
    s390x: CPACF: Handle key wrap machine options · 2eb1cd07
    Tony Krowiak 提交于
    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: NDavid Hildenbrand <dahi@linux.vnet.ibm.com>
    Signed-off-by: NTony Krowiak <akrowiak@linux.vnet.ibm.com>
    Signed-off-by: NJens Freimann <jfrei@linux.vnet.ibm.com>
    Message-Id: <1426164834-38648-4-git-send-email-jfrei@linux.vnet.ibm.com>
    Signed-off-by: NCornelia Huck <cornelia.huck@de.ibm.com>
    2eb1cd07
s390-virtio-ccw.c 8.7 KB