KVM: x86: Add lowest-priority support for vt-d posted-interrupts
authorFeng Wu <feng.wu@intel.com>
Mon, 25 Jan 2016 08:53:34 +0000 (16:53 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 9 Feb 2016 12:24:42 +0000 (13:24 +0100)
commit6228a0da805792c2f25b32e9b926d0810a6648ab
tree2bd5dff76f8df9b6bed89c1430d951eb519c6c6e
parent520040146a0af36f7875ec06b58f44b19a0edf53
KVM: x86: Add lowest-priority support for vt-d posted-interrupts

Use vector-hashing to deliver lowest-priority interrupts for
VT-d posted-interrupts. This patch extends kvm_intr_is_single_vcpu()
to support lowest-priority handling.

Signed-off-by: Feng Wu <feng.wu@intel.com>
Reviewed-by: Radim Krčmář <rkrcmar@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/lapic.c