summary refs log tree commit diff stats
path: root/target-s390x/interrupt.c
diff options
context:
space:
mode:
Diffstat (limited to 'target-s390x/interrupt.c')
-rw-r--r--target-s390x/interrupt.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/target-s390x/interrupt.c b/target-s390x/interrupt.c
index c1b034f775..e51519dbd7 100644
--- a/target-s390x/interrupt.c
+++ b/target-s390x/interrupt.c
@@ -8,7 +8,7 @@
  */
 
 #include "cpu.h"
-#include "kvm.h"
+#include "sysemu/kvm.h"
 
 #if !defined(CONFIG_USER_ONLY)
 /* service interrupts are floating therefore we must not pass an cpustate */
@@ -19,7 +19,8 @@ void s390_sclp_extint(uint32_t parm)
 
     if (kvm_enabled()) {
 #ifdef CONFIG_KVM
-        kvm_s390_interrupt_internal(env, KVM_S390_INT_SERVICE, parm, 0, 1);
+        kvm_s390_interrupt_internal(dummy_cpu, KVM_S390_INT_SERVICE, parm,
+                                    0, 1);
 #endif
     } else {
         env->psw.addr += 4;