diff options
author | Cornelia Huck <cornelia.huck@de.ibm.com> | 2014-03-11 13:52:06 +0100 |
---|---|---|
committer | Cornelia Huck <cornelia.huck@de.ibm.com> | 2014-06-10 09:50:27 +0200 |
commit | 79afc36d91be7550affbe7db227b4552451da41d (patch) | |
tree | f2334185225606c090b0fe73a16e52c926681a27 /target-s390x/kvm.c | |
parent | bcb2b582f35a34b5aee6bdafd93f3eabd9fca6ff (diff) |
s390x: consolidate floating interrupts
Move the injection code for all floating interrupts to interrupt.c
and add a comment.
Also get rid of the #ifdef CONFIG_KVM for the service interrupt.
Reviewed-by: Thomas Huth <thuth@linux.vnet.ibm.com>
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Diffstat (limited to 'target-s390x/kvm.c')
-rw-r--r-- | target-s390x/kvm.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/target-s390x/kvm.c b/target-s390x/kvm.c index 9adda1b46b..9474f81f97 100644 --- a/target-s390x/kvm.c +++ b/target-s390x/kvm.c @@ -593,6 +593,11 @@ void kvm_s390_interrupt(S390CPU *cpu, int type, uint32_t code) kvm_s390_interrupt_internal(cpu, type, code, 0, 0); } +void kvm_s390_service_interrupt(S390CPU *cpu, uint32_t parm) +{ + kvm_s390_interrupt_internal(cpu, KVM_S390_INT_SERVICE, parm, 0 , 1); +} + static void enter_pgmcheck(S390CPU *cpu, uint16_t code) { kvm_s390_interrupt(cpu, KVM_S390_PROGRAM_INT, code); |