]> 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)
commit9b4608e5a8d51505e159ab50412b6adb804aa014
treed6edce2dc3d5ceb7ccc5de818cb5761d5927ea6d
parent9952f0dd318b4ddc646bb214abc304fda7b639c5
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