diff options
author | Pierre Morel <pmorel@linux.ibm.com> | 2018-09-26 01:16:30 +0200 |
---|---|---|
committer | Christian Borntraeger <borntraeger@de.ibm.com> | 2018-09-28 15:50:11 +0200 |
commit | 6cc571b1b1e8b6fbcf69411d115cf9d9be866276 (patch) | |
tree | 5a2894e2f2710de9252530f181640287b7819082 /arch/s390/kvm/vsie.c | |
parent | s390: vfio-ap: implement VFIO_DEVICE_RESET ioctl (diff) | |
download | linux-6cc571b1b1e8b6fbcf69411d115cf9d9be866276.tar.xz linux-6cc571b1b1e8b6fbcf69411d115cf9d9be866276.zip |
KVM: s390: Clear Crypto Control Block when using vSIE
When we clear the Crypto Control Block (CRYCB) used by a guest
level 2, the vSIE shadow CRYCB for guest level 3 must be updated
before the guest uses it.
We achieve this by using the KVM_REQ_VSIE_RESTART synchronous
request for each vCPU belonging to the guest to force the reload
of the shadow CRYCB before rerunning the guest level 3.
Signed-off-by: Pierre Morel <pmorel@linux.ibm.com>
Signed-off-by: Tony Krowiak <akrowiak@linux.ibm.com>
Message-Id: <20180925231641.4954-16-akrowiak@linux.vnet.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Diffstat (limited to 'arch/s390/kvm/vsie.c')
0 files changed, 0 insertions, 0 deletions