]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86: merge kvm_arch_set_irq with kvm_set_msi_inatomic
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 28 Oct 2015 18:16:47 +0000 (19:16 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 4 Nov 2015 15:24:35 +0000 (16:24 +0100)
commitcef5444c354432ccdd53baf3c544855490027ff3
treed6edce2dc3d5ceb7ccc5de818cb5761d5927ea6d
parent947a0dd092e03d468d5761f5ccc07c571628ca74
KVM: x86: merge kvm_arch_set_irq with kvm_set_msi_inatomic

We do not want to do too much work in atomic context, in particular
not walking all the VCPUs of the virtual machine.  So we want
to distinguish the architecture-specific injection function for irqfd
from kvm_set_msi.  Since it's still empty, reuse the newly added
kvm_arch_set_irq and rename it to kvm_arch_set_irq_inatomic.

Reviewed-by: Radim Krčmář <rkrcmar@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/irq_comm.c
include/linux/kvm_host.h
virt/kvm/eventfd.c