From 984b51814712ae4337b9e908da8a03166e2b7289 Mon Sep 17 00:00:00 2001 From: aliguori Date: Thu, 13 Nov 2008 19:21:00 +0000 Subject: Define kvm_ioctl in the same way as ioctl The third argument to ioctl is a ... which allows any value to be passed. In practice, glibc always treats the argument as a void *. Do the same thing for the kvm ioctls to keep things consistent with a traditional ioctl. Signed-off-by: Anthony Liguori git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5715 c046a42c-6fe2-441c-8c8c-71466251a162 --- kvm.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'kvm.h') diff --git a/kvm.h b/kvm.h index 4af48abb17..304de272a7 100644 --- a/kvm.h +++ b/kvm.h @@ -43,11 +43,11 @@ void kvm_set_phys_mem(target_phys_addr_t start_addr, struct KVMState; typedef struct KVMState KVMState; -int kvm_ioctl(KVMState *s, int type, void *data); +int kvm_ioctl(KVMState *s, int type, ...); -int kvm_vm_ioctl(KVMState *s, int type, void *data); +int kvm_vm_ioctl(KVMState *s, int type, ...); -int kvm_vcpu_ioctl(CPUState *env, int type, void *data); +int kvm_vcpu_ioctl(CPUState *env, int type, ...); /* Arch specific hooks */ -- cgit v1.2.1