summaryrefslogtreecommitdiffstats
path: root/arch/s390/kvm/kvm-s390.h
diff options
context:
space:
mode:
authorJens Freimann <jfrei@linux.vnet.ibm.com>2014-02-11 11:07:05 +0100
committerChristian Borntraeger <borntraeger@de.ibm.com>2014-04-22 13:24:34 +0200
commitbcd846837c43ccccc932036d5a634bee48f1ff4f (patch)
treeb20154ac5d4e9e2a7252b817bd723ddeb33364cb /arch/s390/kvm/kvm-s390.h
parent4f718eab262868aeab83774ec4ce25e6a9906657 (diff)
downloadop-kernel-dev-bcd846837c43ccccc932036d5a634bee48f1ff4f.zip
op-kernel-dev-bcd846837c43ccccc932036d5a634bee48f1ff4f.tar.gz
KVM: s390: allow injecting every kind of interrupt
Add a new data structure and function that allows to inject all kinds of interrupt as defined in the PoP Signed-off-by: Jens Freimann <jfrei@linux.vnet.ibm.com> Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Diffstat (limited to 'arch/s390/kvm/kvm-s390.h')
-rw-r--r--arch/s390/kvm/kvm-s390.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/s390/kvm/kvm-s390.h b/arch/s390/kvm/kvm-s390.h
index 460ccd8..25a8b84 100644
--- a/arch/s390/kvm/kvm-s390.h
+++ b/arch/s390/kvm/kvm-s390.h
@@ -165,6 +165,9 @@ bool kvm_s390_cmma_enabled(struct kvm *kvm);
/* implemented in diag.c */
int kvm_s390_handle_diag(struct kvm_vcpu *vcpu);
+/* implemented in interrupt.c */
+int kvm_s390_inject_prog_irq(struct kvm_vcpu *vcpu,
+ struct kvm_s390_pgm_info *pgm_info);
/* implemented in interrupt.c */
int kvm_cpu_has_interrupt(struct kvm_vcpu *vcpu);
OpenPOWER on IntegriCloud