linux-stable-rt/arch/x86/kvm
Sheng Yang 5550af4df1 KVM: Fix guest shared interrupt with in-kernel irqchip
Every call of kvm_set_irq() should offer an irq_source_id, which is
allocated by kvm_request_irq_source_id(). Based on irq_source_id, we
identify the irq source and implement logical OR for shared level
interrupts.

The allocated irq_source_id can be freed by kvm_free_irq_source_id().

Currently, we support at most sizeof(unsigned long) different irq sources.

[Amit: - rebase to kvm.git HEAD
       - move definition of KVM_USERSPACE_IRQ_SOURCE_ID to common file
       - move kvm_request_irq_source_id to the update_irq ioctl]

[Xiantao: - Add kvm/ia64 stuff and make it work for kvm/ia64 guests]

Signed-off-by: Sheng Yang <sheng@linux.intel.com>
Signed-off-by: Amit Shah <amit.shah@redhat.com>
Signed-off-by: Xiantao Zhang <xiantao.zhang@intel.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
2008-10-28 14:21:34 +02:00
..
Kconfig
Makefile
i8254.c KVM: Fix guest shared interrupt with in-kernel irqchip 2008-10-28 14:21:34 +02:00
i8254.h KVM: Fix guest shared interrupt with in-kernel irqchip 2008-10-28 14:21:34 +02:00
i8259.c
irq.c
irq.h
kvm_cache_regs.h
kvm_svm.h
lapic.c Merge commit 'linus/master' into merge-linus 2008-10-17 09:20:26 -07:00
lapic.h
mmu.c KVM: MMU: sync root on paravirt TLB flush 2008-10-28 14:09:27 +02:00
mmu.h
paging_tmpl.h
svm.c
svm.h
tss.h
vmx.c
vmx.h
x86.c KVM: Fix guest shared interrupt with in-kernel irqchip 2008-10-28 14:21:34 +02:00
x86.h
x86_emulate.c