Re: [PATCH v5 06/18] s390x: protvirt: Handle diag 308 subcodes 0,1,3,4

2020-02-26 Thread Janosch Frank
On 2/26/20 4:00 PM, Christian Borntraeger wrote: > > > On 26.02.20 13:20, Janosch Frank wrote: >> As we now have access to the protection state of the cpus, we can >> implement special handling of diag 308 subcodes for cpus in the >> protected state. >> >> For subcodes 0 and 1 we need to unshare

Re: [PATCH v5 06/18] s390x: protvirt: Handle diag 308 subcodes 0,1,3,4

2020-02-26 Thread Christian Borntraeger
On 26.02.20 13:20, Janosch Frank wrote: > As we now have access to the protection state of the cpus, we can > implement special handling of diag 308 subcodes for cpus in the > protected state. > > For subcodes 0 and 1 we need to unshare all pages before continuing, > so the guest doesn't accide

[PATCH v5 06/18] s390x: protvirt: Handle diag 308 subcodes 0,1,3,4

2020-02-26 Thread Janosch Frank
As we now have access to the protection state of the cpus, we can implement special handling of diag 308 subcodes for cpus in the protected state. For subcodes 0 and 1 we need to unshare all pages before continuing, so the guest doesn't accidentally expose data when dumping. For subcode 3/4 we te