aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm/x86.c
diff options
context:
space:
mode:
authorGleb Natapov <gleb@redhat.com>2009-04-21 17:45:02 +0300
committerAvi Kivity <avi@redhat.com>2009-06-10 11:48:46 +0300
commit1cb948ae86f3d95cce58fac51d00766825f5f783 (patch)
treee099dd2a7d572db18bd1bc2ec9ffb62d10e835ee /arch/x86/kvm/x86.c
parentKVM: SVM: Coalesce userspace/kernel irqchip interrupt injection logic (diff)
downloadlinux-dev-1cb948ae86f3d95cce58fac51d00766825f5f783.tar.xz
linux-dev-1cb948ae86f3d95cce58fac51d00766825f5f783.zip
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/x86.c')
-rw-r--r--arch/x86/kvm/x86.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c
index ae6250b19726..b81970b053b9 100644
--- a/arch/x86/kvm/x86.c
+++ b/arch/x86/kvm/x86.c
@@ -3237,8 +3237,6 @@ static int vcpu_enter_guest(struct kvm_vcpu *vcpu, struct kvm_run *kvm_run)
profile_hit(KVM_PROFILING, (void *)rip);
}
- if (vcpu->arch.exception.pending && kvm_x86_ops->exception_injected(vcpu))
- vcpu->arch.exception.pending = false;
kvm_lapic_sync_from_vapic(vcpu);