diff options
author | Feng Wu <feng.wu@intel.com> | 2015-09-18 16:29:47 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2015-10-01 15:06:49 +0200 |
commit | 8feb4a04dc756002f78df0026e58118669de4851 (patch) | |
tree | 5805a8d7b71c693d71dacf1d417d1f600732cef9 /crypto/skcipher.c | |
parent | KVM: Add some helper functions for Posted-Interrupts (diff) | |
download | linux-8feb4a04dc756002f78df0026e58118669de4851.tar.xz linux-8feb4a04dc756002f78df0026e58118669de4851.zip |
KVM: Define a new interface kvm_intr_is_single_vcpu()
This patch defines a new interface kvm_intr_is_single_vcpu(),
which can returns whether the interrupt is for single-CPU or not.
It is used by VT-d PI, since now we only support single-CPU
interrupts, For lowest-priority interrupts, if user configures
it via /proc/irq or uses irqbalance to make it single-CPU, we
can use PI to deliver the interrupts to it. Full functionality
of lowest-priority support will be added later.
Signed-off-by: Feng Wu <feng.wu@intel.com>
Reviewed-by: Alex Williamson <alex.williamson@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'crypto/skcipher.c')
0 files changed, 0 insertions, 0 deletions