From 2907ee2f054aafea3e09024ebd8461ce6ae08c71 Mon Sep 17 00:00:00 2001 From: Marcelo Tosatti Date: Mon, 8 Mar 2010 21:47:09 -0300 Subject: kvm-tpr-opt: remove dead code Simplify code around kvm_enable_tpr_access_reporting. Signed-off-by: Marcelo Tosatti Signed-off-by: Avi Kivity --- qemu-kvm.h | 22 ---------------------- 1 file changed, 22 deletions(-) (limited to 'qemu-kvm.h') diff --git a/qemu-kvm.h b/qemu-kvm.h index 1616180a4..f5db9e6dd 100644 --- a/qemu-kvm.h +++ b/qemu-kvm.h @@ -601,27 +601,6 @@ int kvm_get_pit2(kvm_context_t kvm, struct kvm_pit_state2 *ps2); #ifdef KVM_CAP_VAPIC -/*! - * \brief Enable kernel tpr access reporting - * - * When tpr access reporting is enabled, the kernel will call the - * ->tpr_access() callback every time the guest vcpu accesses the tpr. - * - * \param kvm Pointer to the current kvm_context - * \param vcpu vcpu to enable tpr access reporting on - */ -int kvm_enable_tpr_access_reporting(CPUState *env); - -/*! - * \brief Disable kernel tpr access reporting - * - * Undoes the effect of kvm_enable_tpr_access_reporting(). - * - * \param kvm Pointer to the current kvm_context - * \param vcpu vcpu to disable tpr access reporting on - */ -int kvm_disable_tpr_access_reporting(CPUState *env); - int kvm_enable_vapic(CPUState *env, uint64_t vapic); #endif @@ -895,7 +874,6 @@ void qemu_kvm_aio_wait_end(void); void qemu_kvm_notify_work(void); void kvm_tpr_access_report(CPUState *env, uint64_t rip, int is_write); -void kvm_tpr_vcpu_start(CPUState *env); int qemu_kvm_get_dirty_pages(unsigned long phys_addr, void *buf); -- cgit v1.2.3