diff options
author | Gleb Natapov <gleb@redhat.com> | 2009-08-24 11:54:21 +0300 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2009-12-03 09:32:07 +0200 |
commit | 3e71f88bc90792a187703860cf22fbed7c12cbd9 (patch) | |
tree | 91219ea4a7714ac462c30c15314cfb8f25d0f812 /arch/x86/include/asm/kvm.h | |
parent | 46e624b95c36d729bdf24010fff11d16f6fe94fa (diff) | |
download | blackbird-op-linux-3e71f88bc90792a187703860cf22fbed7c12cbd9.tar.gz blackbird-op-linux-3e71f88bc90792a187703860cf22fbed7c12cbd9.zip |
KVM: Maintain back mapping from irqchip/pin to gsi
Maintain back mapping from irqchip/pin to gsi to speedup
interrupt acknowledgment notifications.
[avi: build fix on non-x86/ia64]
Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/x86/include/asm/kvm.h')
-rw-r--r-- | arch/x86/include/asm/kvm.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/include/asm/kvm.h b/arch/x86/include/asm/kvm.h index 4a5fe914dc59..f02e87a5206f 100644 --- a/arch/x86/include/asm/kvm.h +++ b/arch/x86/include/asm/kvm.h @@ -79,6 +79,7 @@ struct kvm_ioapic_state { #define KVM_IRQCHIP_PIC_MASTER 0 #define KVM_IRQCHIP_PIC_SLAVE 1 #define KVM_IRQCHIP_IOAPIC 2 +#define KVM_NR_IRQCHIPS 3 /* for KVM_GET_REGS and KVM_SET_REGS */ struct kvm_regs { |