|
@@ -1672,6 +1672,7 @@ int kvm_arch_vcpu_init(struct kvm_vcpu *vcpu)
|
|
|
KVM_SYNC_CRS |
|
|
|
KVM_SYNC_ARCH0 |
|
|
|
KVM_SYNC_PFAULT;
|
|
|
+ kvm_s390_set_prefix(vcpu, 0);
|
|
|
if (test_kvm_facility(vcpu->kvm, 64))
|
|
|
vcpu->run->kvm_valid_regs |= KVM_SYNC_RICCB;
|
|
|
/* fprs can be synchronized via vrs, even if the guest has no vx. With
|
|
@@ -2361,8 +2362,10 @@ retry:
|
|
|
rc = gmap_mprotect_notify(vcpu->arch.gmap,
|
|
|
kvm_s390_get_prefix(vcpu),
|
|
|
PAGE_SIZE * 2, PROT_WRITE);
|
|
|
- if (rc)
|
|
|
+ if (rc) {
|
|
|
+ kvm_make_request(KVM_REQ_MMU_RELOAD, vcpu);
|
|
|
return rc;
|
|
|
+ }
|
|
|
goto retry;
|
|
|
}
|
|
|
|