summaryrefslogtreecommitdiffstats
path: root/target-s390x/misc_helper.c
diff options
context:
space:
mode:
authorAndreas Färber2012-10-31 06:06:49 +0100
committerAndreas Färber2012-12-19 14:09:31 +0100
commit1bc22652d62f862a5def54f939e87fdb7a5593ae (patch)
tree007c4c834f580f81989b94c5c5489a57ff2b2263 /target-s390x/misc_helper.c
parentkvm: Pass CPUState to kvm_arch_* (diff)
downloadqemu-1bc22652d62f862a5def54f939e87fdb7a5593ae.tar.gz
qemu-1bc22652d62f862a5def54f939e87fdb7a5593ae.tar.xz
qemu-1bc22652d62f862a5def54f939e87fdb7a5593ae.zip
kvm: Pass CPUState to kvm_vcpu_ioctl()
Adapt helper functions to pass X86CPU / PowerPCCPU / S390CPU. Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'target-s390x/misc_helper.c')
-rw-r--r--target-s390x/misc_helper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target-s390x/misc_helper.c b/target-s390x/misc_helper.c
index 38d8f2a627..0834a1992b 100644
--- a/target-s390x/misc_helper.c
+++ b/target-s390x/misc_helper.c
@@ -57,7 +57,7 @@ void program_interrupt(CPUS390XState *env, uint32_t code, int ilc)
if (kvm_enabled()) {
#ifdef CONFIG_KVM
- kvm_s390_interrupt(env, KVM_S390_PROGRAM_INT, code);
+ kvm_s390_interrupt(s390_env_get_cpu(env), KVM_S390_PROGRAM_INT, code);
#endif
} else {
env->int_pgm_code = code;