diff options
author | Jens Freimann <jfrei@linux.vnet.ibm.com> | 2014-11-11 14:57:06 -0500 |
---|---|---|
committer | Christian Borntraeger <borntraeger@de.ibm.com> | 2015-03-31 15:07:30 -0400 |
commit | 47b43c52ee4b0425449d1b2b1eedca7f6b7a578a (patch) | |
tree | 70342ba800b1cd61ed55059d12e873c706d822ba /virt/kvm/kvm_main.c | |
parent | b4aec92567f3146167cbc262c686ff73730aa4ca (diff) |
KVM: s390: add ioctl to inject local interrupts
We have introduced struct kvm_s390_irq a while ago which allows to
inject all kinds of interrupts as defined in the Principles of
Operation.
Add ioctl to inject interrupts with the extended struct kvm_s390_irq
Signed-off-by: Jens Freimann <jfrei@linux.vnet.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Acked-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Diffstat (limited to 'virt/kvm/kvm_main.c')
-rw-r--r-- | virt/kvm/kvm_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/virt/kvm/kvm_main.c b/virt/kvm/kvm_main.c index a1093700f3a4..34310a8d24b9 100644 --- a/virt/kvm/kvm_main.c +++ b/virt/kvm/kvm_main.c | |||
@@ -2118,7 +2118,7 @@ static long kvm_vcpu_ioctl(struct file *filp, | |||
2118 | * Special cases: vcpu ioctls that are asynchronous to vcpu execution, | 2118 | * Special cases: vcpu ioctls that are asynchronous to vcpu execution, |
2119 | * so vcpu_load() would break it. | 2119 | * so vcpu_load() would break it. |
2120 | */ | 2120 | */ |
2121 | if (ioctl == KVM_S390_INTERRUPT || ioctl == KVM_INTERRUPT) | 2121 | if (ioctl == KVM_S390_INTERRUPT || ioctl == KVM_S390_IRQ || ioctl == KVM_INTERRUPT) |
2122 | return kvm_arch_vcpu_ioctl(filp, ioctl, arg); | 2122 | return kvm_arch_vcpu_ioctl(filp, ioctl, arg); |
2123 | #endif | 2123 | #endif |
2124 | 2124 | ||