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/include/asm/kvm_host.h | |
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/include/asm/kvm_host.h')
-rw-r--r-- | arch/x86/include/asm/kvm_host.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/include/asm/kvm_host.h b/arch/x86/include/asm/kvm_host.h index cb306cff2b49..5edae351b5dc 100644 --- a/arch/x86/include/asm/kvm_host.h +++ b/arch/x86/include/asm/kvm_host.h | |||
@@ -517,7 +517,7 @@ struct kvm_x86_ops { | |||
517 | void (*queue_exception)(struct kvm_vcpu *vcpu, unsigned nr, | 517 | void (*queue_exception)(struct kvm_vcpu *vcpu, unsigned nr, |
518 | bool has_error_code, u32 error_code); | 518 | bool has_error_code, u32 error_code); |
519 | bool (*exception_injected)(struct kvm_vcpu *vcpu); | 519 | bool (*exception_injected)(struct kvm_vcpu *vcpu); |
520 | void (*inject_pending_irq)(struct kvm_vcpu *vcpu); | 520 | void (*inject_pending_irq)(struct kvm_vcpu *vcpu, struct kvm_run *run); |
521 | void (*inject_pending_vectors)(struct kvm_vcpu *vcpu, | 521 | void (*inject_pending_vectors)(struct kvm_vcpu *vcpu, |
522 | struct kvm_run *run); | 522 | struct kvm_run *run); |
523 | int (*interrupt_allowed)(struct kvm_vcpu *vcpu); | 523 | int (*interrupt_allowed)(struct kvm_vcpu *vcpu); |