diff options
author | Gleb Natapov <gleb@redhat.com> | 2009-04-21 10:44:57 -0400 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2009-06-10 04:48:45 -0400 |
commit | 863e8e658ee9ac6e5931b295eb7428456e450a0f (patch) | |
tree | 96198a74491bd96ba81d05e3773b19951f050744 /arch/x86/kvm/svm.c | |
parent | 8061823a25218174f30c3dd943989e1d72f7d06e (diff) |
KVM: VMX: Consolidate userspace and kernel interrupt injection for VMX
Use the same callback to inject irq/nmi events no matter what irqchip is
in use. Only from VMX for now.
Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/x86/kvm/svm.c')
-rw-r--r-- | arch/x86/kvm/svm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kvm/svm.c b/arch/x86/kvm/svm.c index 6eef6d22e87e..f2933abc9691 100644 --- a/arch/x86/kvm/svm.c +++ b/arch/x86/kvm/svm.c | |||
@@ -2298,7 +2298,7 @@ static int svm_interrupt_allowed(struct kvm_vcpu *vcpu) | |||
2298 | (svm->vcpu.arch.hflags & HF_GIF_MASK); | 2298 | (svm->vcpu.arch.hflags & HF_GIF_MASK); |
2299 | } | 2299 | } |
2300 | 2300 | ||
2301 | static void svm_intr_assist(struct kvm_vcpu *vcpu) | 2301 | static void svm_intr_assist(struct kvm_vcpu *vcpu, struct kvm_run *kvm_run) |
2302 | { | 2302 | { |
2303 | struct vcpu_svm *svm = to_svm(vcpu); | 2303 | struct vcpu_svm *svm = to_svm(vcpu); |
2304 | struct vmcb *vmcb = svm->vmcb; | 2304 | struct vmcb *vmcb = svm->vmcb; |