aboutsummaryrefslogtreecommitdiff
path: root/target-s390x/misc_helper.c
diff options
context:
space:
mode:
authorCornelia Huck <cornelia.huck@de.ibm.com>2013-01-17 04:23:46 +0000
committerAlexander Graf <agraf@suse.de>2013-01-18 19:07:47 +0100
commit28e942f86d46ccd46bf1f4836389abb3ff706dff (patch)
tree7febe9c29172fa7ff2ee3a61a2be26e941c4b2ff /target-s390x/misc_helper.c
parentd5627ce8a4fd8dd6d7afd3d4d1ff7e9f1fb86d45 (diff)
s390: Add a hypercall registration interface.
Allow virtio machines to register for different diag500 function codes and convert s390-virtio to use it. Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com> Signed-off-by: Alexander Graf <agraf@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 78d2c0e762..09301d0a6f 100644
--- a/target-s390x/misc_helper.c
+++ b/target-s390x/misc_helper.c
@@ -188,7 +188,7 @@ uint64_t HELPER(diag)(CPUS390XState *env, uint32_t num, uint64_t mem,
switch (num) {
case 0x500:
/* KVM hypercall */
- r = s390_virtio_hypercall(env, mem, code);
+ r = s390_virtio_hypercall(env);
break;
case 0x44:
/* yield */