diff options
Diffstat (limited to 'arch/s390/kvm/interrupt.c')
-rw-r--r-- | arch/s390/kvm/interrupt.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/arch/s390/kvm/interrupt.c b/arch/s390/kvm/interrupt.c index 278ee009ce65..2d9f9a72bb81 100644 --- a/arch/s390/kvm/interrupt.c +++ b/arch/s390/kvm/interrupt.c | |||
@@ -134,7 +134,7 @@ static void __do_deliver_interrupt(struct kvm_vcpu *vcpu, | |||
134 | if (rc == -EFAULT) | 134 | if (rc == -EFAULT) |
135 | exception = 1; | 135 | exception = 1; |
136 | 136 | ||
137 | rc = put_guest_u16(vcpu, __LC_CPU_ADDRESS, inti->emerg.code); | 137 | rc = put_guest_u16(vcpu, __LC_EXT_CPU_ADDR, inti->emerg.code); |
138 | if (rc == -EFAULT) | 138 | if (rc == -EFAULT) |
139 | exception = 1; | 139 | exception = 1; |
140 | 140 | ||
@@ -156,7 +156,7 @@ static void __do_deliver_interrupt(struct kvm_vcpu *vcpu, | |||
156 | if (rc == -EFAULT) | 156 | if (rc == -EFAULT) |
157 | exception = 1; | 157 | exception = 1; |
158 | 158 | ||
159 | rc = put_guest_u16(vcpu, __LC_CPU_ADDRESS, inti->extcall.code); | 159 | rc = put_guest_u16(vcpu, __LC_EXT_CPU_ADDR, inti->extcall.code); |
160 | if (rc == -EFAULT) | 160 | if (rc == -EFAULT) |
161 | exception = 1; | 161 | exception = 1; |
162 | 162 | ||
@@ -202,7 +202,7 @@ static void __do_deliver_interrupt(struct kvm_vcpu *vcpu, | |||
202 | if (rc == -EFAULT) | 202 | if (rc == -EFAULT) |
203 | exception = 1; | 203 | exception = 1; |
204 | 204 | ||
205 | rc = put_guest_u16(vcpu, __LC_CPU_ADDRESS, 0x0d00); | 205 | rc = put_guest_u16(vcpu, __LC_EXT_CPU_ADDR, 0x0d00); |
206 | if (rc == -EFAULT) | 206 | if (rc == -EFAULT) |
207 | exception = 1; | 207 | exception = 1; |
208 | 208 | ||
@@ -236,8 +236,7 @@ static void __do_deliver_interrupt(struct kvm_vcpu *vcpu, | |||
236 | VCPU_EVENT(vcpu, 4, "interrupt: set prefix to %x", | 236 | VCPU_EVENT(vcpu, 4, "interrupt: set prefix to %x", |
237 | inti->prefix.address); | 237 | inti->prefix.address); |
238 | vcpu->stat.deliver_prefix_signal++; | 238 | vcpu->stat.deliver_prefix_signal++; |
239 | vcpu->arch.sie_block->prefix = inti->prefix.address; | 239 | kvm_s390_set_prefix(vcpu, inti->prefix.address); |
240 | vcpu->arch.sie_block->ihcpu = 0xffff; | ||
241 | break; | 240 | break; |
242 | 241 | ||
243 | case KVM_S390_RESTART: | 242 | case KVM_S390_RESTART: |