]> git.proxmox.com Git - qemu.git/blobdiff - target-s390x/kvm.c
s390: Add a hypercall registration interface.
[qemu.git] / target-s390x / kvm.c
index a63ee4650446c4297571c9e3a316db3536297e19..add6a58f9c0a64744dc432cee1c0751abd0c605a 100644 (file)
@@ -397,7 +397,7 @@ static int handle_priv(S390CPU *cpu, struct kvm_run *run, uint8_t ipa1)
 static int handle_hypercall(CPUS390XState *env, struct kvm_run *run)
 {
     cpu_synchronize_state(env);
-    env->regs[2] = s390_virtio_hypercall(env, env->regs[2], env->regs[1]);
+    env->regs[2] = s390_virtio_hypercall(env);
 
     return 0;
 }