kvm hypervisor: Simplify kvm_for_each_vcpu with kvm_irq_delivery_to_apic
authorRaghavendra K T <raghavendra.kt@linux.vnet.ibm.com>
Mon, 26 Aug 2013 08:48:35 +0000 (14:18 +0530)
committerGleb Natapov <gleb@redhat.com>
Mon, 26 Aug 2013 09:47:09 +0000 (12:47 +0300)
commit24d2166beb2f0be7dd29ab6a0841c27bd669eae9
treece8abff1c77b369c82507d72cbe8861e57e03162
parent6aef266c6e17b798a1740cf70cd34f90664740b3
kvm hypervisor: Simplify kvm_for_each_vcpu with kvm_irq_delivery_to_apic

Note that we are using APIC_DM_REMRD which has reserved usage.
In future if APIC_DM_REMRD usage is standardized, then we should
find some other way or go back to old method.

Suggested-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Raghavendra K T <raghavendra.kt@linux.vnet.ibm.com>
Acked-by: Gleb Natapov <gleb@redhat.com>
Acked-by: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Gleb Natapov <gleb@redhat.com>
arch/x86/kvm/lapic.c
arch/x86/kvm/x86.c