aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm/vmx.c
diff options
context:
space:
mode:
authorGleb Natapov <gleb@redhat.com>2009-04-21 10:45:02 -0400
committerAvi Kivity <avi@redhat.com>2009-06-10 04:48:46 -0400
commit1cb948ae86f3d95cce58fac51d00766825f5f783 (patch)
treee099dd2a7d572db18bd1bc2ec9ffb62d10e835ee /arch/x86/kvm/vmx.c
parent9222be18f76b4410b4da0d06e1cc21079e64b3ec (diff)
KVM: Remove exception_injected() callback.
It always return false for VMX/SVM now. Signed-off-by: Gleb Natapov <gleb@redhat.com> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/x86/kvm/vmx.c')
-rw-r--r--arch/x86/kvm/vmx.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/x86/kvm/vmx.c b/arch/x86/kvm/vmx.c
index 9eb518fb907b..3186fcfcffb5 100644
--- a/arch/x86/kvm/vmx.c
+++ b/arch/x86/kvm/vmx.c
@@ -789,11 +789,6 @@ static void vmx_queue_exception(struct kvm_vcpu *vcpu, unsigned nr,
789 vmcs_write32(VM_ENTRY_INTR_INFO_FIELD, intr_info); 789 vmcs_write32(VM_ENTRY_INTR_INFO_FIELD, intr_info);
790} 790}
791 791
792static bool vmx_exception_injected(struct kvm_vcpu *vcpu)
793{
794 return false;
795}
796
797/* 792/*
798 * Swap MSR entry in host/guest MSR entry array. 793 * Swap MSR entry in host/guest MSR entry array.
799 */ 794 */
@@ -3697,7 +3692,6 @@ static struct kvm_x86_ops vmx_x86_ops = {
3697 .get_irq = vmx_get_irq, 3692 .get_irq = vmx_get_irq,
3698 .set_irq = vmx_inject_irq, 3693 .set_irq = vmx_inject_irq,
3699 .queue_exception = vmx_queue_exception, 3694 .queue_exception = vmx_queue_exception,
3700 .exception_injected = vmx_exception_injected,
3701 .inject_pending_irq = vmx_intr_assist, 3695 .inject_pending_irq = vmx_intr_assist,
3702 .inject_pending_vectors = vmx_intr_assist, 3696 .inject_pending_vectors = vmx_intr_assist,
3703 .interrupt_allowed = vmx_interrupt_allowed, 3697 .interrupt_allowed = vmx_interrupt_allowed,