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)
commitb97e6de9c96cefaa02a6a7464731ea504b45e150
treed6edce2dc3d5ceb7ccc5de818cb5761d5927ea6d
parent0669a51015c58b1f036030743a0c0781eb63867f
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