KVM: s390: reinject io interrupt on tpi failure
The tpi instruction should be suppressed on addressing and protection exceptions, so we need to re-inject the dequeued io interrupt in that case. Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com> Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
This commit is contained in:

committed by
Christian Borntraeger

parent
4799b557c9
commit
2f32d4ea28
@@ -846,6 +846,12 @@ int kvm_s390_inject_vm(struct kvm *kvm,
|
||||
return __inject_vm(kvm, inti);
|
||||
}
|
||||
|
||||
void kvm_s390_reinject_io_int(struct kvm *kvm,
|
||||
struct kvm_s390_interrupt_info *inti)
|
||||
{
|
||||
__inject_vm(kvm, inti);
|
||||
}
|
||||
|
||||
int kvm_s390_inject_vcpu(struct kvm_vcpu *vcpu,
|
||||
struct kvm_s390_interrupt *s390int)
|
||||
{
|
||||
|
Reference in New Issue
Block a user