diff options
author | Janosch Frank <frankja@linux.ibm.com> | 2020-10-20 13:12:07 +0300 |
---|---|---|
committer | Christian Borntraeger <borntraeger@de.ibm.com> | 2020-11-11 11:31:48 +0300 |
commit | 1ed576a20cd5c93295f57d6b7400357bd8d01b21 (patch) | |
tree | f5c6a831d65dd0381f4a15b73cac56b22f347a9f /lib/debugobjects.c | |
parent | 6d6a18fdde8b86b919b740ad629153de432d12a8 (diff) | |
download | linux-1ed576a20cd5c93295f57d6b7400357bd8d01b21.tar.xz |
KVM: s390: pv: Mark mm as protected after the set secure parameters and improve cleanup
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>
Fixes: 29b40f105ec8 ("KVM: s390: protvirt: Add initial vm and cpu lifecycle handling")
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions