diff options
author | Glauber Costa <glommer@redhat.com> | 2009-10-09 15:03:11 -0300 |
---|---|---|
committer | Marcelo Tosatti <mtosatti@redhat.com> | 2009-10-13 14:01:06 -0300 |
commit | 7e37138ee78a097b5717ed5513a5bf6808f2a0f7 (patch) | |
tree | 1924e5e7323826137974a2ca41afba4269d614b3 /qemu-kvm.h | |
parent | 4885099532eb41d40f538a5ff5c6af306610d1ff (diff) |
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.h')
-rw-r--r-- | qemu-kvm.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qemu-kvm.h b/qemu-kvm.h index 220c705a1..d3ef2342f 100644 --- a/qemu-kvm.h +++ b/qemu-kvm.h @@ -1109,7 +1109,7 @@ struct ioperm_data { }; void qemu_kvm_cpu_stop(CPUState *env); -int kvm_arch_halt(void *opaque, kvm_vcpu_context_t vcpu); +int kvm_arch_halt(kvm_vcpu_context_t vcpu); int handle_tpr_access(void *opaque, kvm_vcpu_context_t vcpu, uint64_t rip, int is_write); int kvm_has_sync_mmu(void); |