diff options
author | Cornelia Huck <cornelia.huck@de.ibm.com> | 2013-01-17 04:23:46 +0000 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2013-01-18 19:07:47 +0100 |
commit | 28e942f86d46ccd46bf1f4836389abb3ff706dff (patch) | |
tree | 7febe9c29172fa7ff2ee3a61a2be26e941c4b2ff /target-s390x/cpu.h | |
parent | d5627ce8a4fd8dd6d7afd3d4d1ff7e9f1fb86d45 (diff) | |
download | qemu-28e942f86d46ccd46bf1f4836389abb3ff706dff.zip qemu-28e942f86d46ccd46bf1f4836389abb3ff706dff.tar.gz qemu-28e942f86d46ccd46bf1f4836389abb3ff706dff.tar.bz2 |
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/cpu.h')
-rw-r--r-- | target-s390x/cpu.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target-s390x/cpu.h b/target-s390x/cpu.h index 23d8b44..1f2d942 100644 --- a/target-s390x/cpu.h +++ b/target-s390x/cpu.h @@ -305,7 +305,7 @@ int cpu_s390x_handle_mmu_fault (CPUS390XState *env, target_ulong address, int rw void s390x_tod_timer(void *opaque); void s390x_cpu_timer(void *opaque); -int s390_virtio_hypercall(CPUS390XState *env, uint64_t mem, uint64_t hypercall); +int s390_virtio_hypercall(CPUS390XState *env); #ifdef CONFIG_KVM void kvm_s390_interrupt(S390CPU *cpu, int type, uint32_t code); |