summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGlauber Costa <glommer@redhat.com>2009-10-09 15:03:11 -0300
committerMarcelo Tosatti <mtosatti@redhat.com>2009-10-13 14:01:06 -0300
commit7e37138ee78a097b5717ed5513a5bf6808f2a0f7 (patch)
tree1924e5e7323826137974a2ca41afba4269d614b3 /qemu-kvm-x86.c
parentdrop kvm_mmio_read and write (diff)
downloadqemu-kvm-7e37138ee78a097b5717ed5513a5bf6808f2a0f7.tar.gz
qemu-kvm-7e37138ee78a097b5717ed5513a5bf6808f2a0f7.tar.bz2
qemu-kvm-7e37138ee78a097b5717ed5513a5bf6808f2a0f7.zip
remove unneded opaque.
kvm_debug() and kvm_arch_halt() both take an opaque field for no reason, since it is totally unused. kvm_halt() itself is just a wrapper around kvm_arch_halt(), and is removed. Signed-off-by: Glauber Costa <glommer@redhat.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'qemu-kvm-x86.c')
-rw-r--r--qemu-kvm-x86.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/qemu-kvm-x86.c b/qemu-kvm-x86.c
index e8ec59d1c..7546fcb0f 100644
--- a/qemu-kvm-x86.c
+++ b/qemu-kvm-x86.c
@@ -1357,7 +1357,7 @@ int kvm_arch_init_vcpu(CPUState *cenv)
return 0;
}
-int kvm_arch_halt(void *opaque, kvm_vcpu_context_t vcpu)
+int kvm_arch_halt(kvm_vcpu_context_t vcpu)
{
CPUState *env = cpu_single_env;