KVM: s390: vsie: Allow CRYCB FORMAT-2
authorPierre Morel <pmorel@linux.ibm.com>
Tue, 25 Sep 2018 23:16:33 +0000 (19:16 -0400)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Fri, 28 Sep 2018 13:50:11 +0000 (15:50 +0200)
commit56019f9aca2266edc7f304d91e4e772023b7aa14
tree4093f712a6f6f3a763784f351eb58c4fdba33bfe
parent3af84def9cbf38f2a13c0a8e1a74721ad762747e
KVM: s390: vsie: Allow CRYCB FORMAT-2

When the guest and the host both use CRYCB FORMAT-2,
we copy the guest's FORMAT-1 APCB to a FORMAT-1
shadow APCB.

This patch also cleans up the shadow_crycb() function.

Signed-off-by: Pierre Morel <pmorel@linux.ibm.com>
Signed-off-by: Tony Krowiak <akrowiak@linux.ibm.com>
Message-Id: <20180925231641.4954-19-akrowiak@linux.vnet.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
arch/s390/kvm/vsie.c