Re: [PATCH] kvm: s390: pv: Mark mm as protected after the set secure parameters and improve cleanup

Christian Borntraeger
2020-11-11T08:27:00Z

On 11.11.20 09:17, Janosch Frank wrote:
> On 10/30/20 3:23 PM, Christian Borntraeger wrote:
>> On 30.10.20 15:01, Janosch Frank wrote:
>>> We can only have protected guest pages after a successful set secure
>>> parameters call as only then the UV allows imports and unpacks.
>>>
>>> By moving the test we can now also check for it in s390_reset_acc()
>>> and do an early return if it is 0.
>>>
>>> Signed-off-by: Janosch Frank <frankja@linux.ibm.com>
>>
>> Can we check this into devel to give it some test coverage?
>
> I think this also lacks:
> Fixes: 29b40f105ec8 ("KVM: s390: protvirt: Add initial vm and cpu
> lifecycle handling")

Yes, it does. I will schedule for kvm/master.