diff options
author | Jens Freimann <jfrei@linux.vnet.ibm.com> | 2014-02-11 11:07:05 +0100 |
---|---|---|
committer | Christian Borntraeger <borntraeger@de.ibm.com> | 2014-04-22 13:24:34 +0200 |
commit | bcd846837c43ccccc932036d5a634bee48f1ff4f (patch) | |
tree | b20154ac5d4e9e2a7252b817bd723ddeb33364cb /arch/s390/kvm/kvm-s390.h | |
parent | KVM: s390: Exploiting generic userspace interface for cmma (diff) | |
download | linux-bcd846837c43ccccc932036d5a634bee48f1ff4f.tar.xz linux-bcd846837c43ccccc932036d5a634bee48f1ff4f.zip |
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.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/s390/kvm/kvm-s390.h b/arch/s390/kvm/kvm-s390.h index 460ccd828bbb..25a8b8478918 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); |