Re: [PATCH v8 19/22] KVM: s390: Clear Crypto Control Block when using vSIE

2018-08-09 Thread Pierre Morel
On 09/08/2018 10:10, David Hildenbrand wrote: On 08.08.2018 16:44, Tony Krowiak wrote: From: Pierre Morel 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_

Re: [PATCH v8 19/22] KVM: s390: Clear Crypto Control Block when using vSIE

2018-08-09 Thread Pierre Morel
On 09/08/2018 10:10, David Hildenbrand wrote: On 08.08.2018 16:44, Tony Krowiak wrote: From: Pierre Morel 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_

Re: [PATCH v8 19/22] KVM: s390: Clear Crypto Control Block when using vSIE

2018-08-09 Thread David Hildenbrand
On 08.08.2018 16:44, Tony Krowiak wrote: > From: Pierre Morel > > 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 > requ

[PATCH v8 19/22] KVM: s390: Clear Crypto Control Block when using vSIE

2018-08-08 Thread Tony Krowiak
From: Pierre Morel 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 rel