diff options
| author | Pierre Morel <[email protected]> | 2019-04-26 11:00:01 +0200 |
|---|---|---|
| committer | Christian Borntraeger <[email protected]> | 2019-04-29 09:01:22 +0200 |
| commit | b2d0371d2e374facd45e115d3668086df13730ff (patch) | |
| tree | aa785296d5820f785422467be0c9e0736da95b23 | |
| parent | bcccb8f6a91b50fde008354fa8273dd14829dce2 (diff) | |
KVM: s390: vsie: Return correct values for Invalid CRYCB format
Let's use the correct validity number.
Fixes: 56019f9aca22 ("KVM: s390: vsie: Allow CRYCB FORMAT-2")
Signed-off-by: Pierre Morel <[email protected]>
Reviewed-by: Christian Borntraeger <[email protected]>
Message-Id: <[email protected]>
Acked-by: David Hildenbrand <[email protected]>
Signed-off-by: Christian Borntraeger <[email protected]>
| -rw-r--r-- | arch/s390/kvm/vsie.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/s390/kvm/vsie.c b/arch/s390/kvm/vsie.c index ac411e9e2bd3..076090f9e666 100644 --- a/arch/s390/kvm/vsie.c +++ b/arch/s390/kvm/vsie.c @@ -344,7 +344,7 @@ static int shadow_crycb(struct kvm_vcpu *vcpu, struct vsie_page *vsie_page) end: switch (ret) { case -EINVAL: - return set_validity_icpt(scb_s, 0x0020U); + return set_validity_icpt(scb_s, 0x0022U); case -EFAULT: return set_validity_icpt(scb_s, 0x0035U); case -EACCES: |