projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f7b1a77
)
KVM: s390: Fix sdnxo setting for nested guests
author
Christian Borntraeger
<
[email protected]
>
Fri, 7 Apr 2017 12:23:13 +0000
(14:23 +0200)
committer
Christian Borntraeger
<
[email protected]
>
Wed, 12 Apr 2017 11:47:31 +0000
(13:47 +0200)
If the guest does not use the host register management, but it uses
the sdnx area, we must fill in a proper sdnxo value (address of sdnx
and the sdnxc).
Reported-by: David Hildenbrand <
[email protected]
>
Signed-off-by: Christian Borntraeger <
[email protected]
>
Acked-by: Cornelia Huck <
[email protected]
>
arch/s390/kvm/vsie.c
patch
|
blob
|
history
diff --git
a/arch/s390/kvm/vsie.c
b/arch/s390/kvm/vsie.c
index 2fafc2be777fe410f479c1179125c3d6d9117ad9..025b1f2e17a9d45229cafea09cfb9122807d6a8f 100644
(file)
--- a/
arch/s390/kvm/vsie.c
+++ b/
arch/s390/kvm/vsie.c
@@
-627,7
+627,7
@@
static int pin_blocks(struct kvm_vcpu *vcpu, struct vsie_page *vsie_page)
rc = set_validity_icpt(scb_s, 0x10b0U);
if (rc)
goto unpin;
- scb_s->sdnxo = hpa;
+ scb_s->sdnxo = hpa
| sdnxc
;
}
return 0;
unpin: