KVM: x86: don't take kvm->irq_lock when creating IRQCHIP
authorDavid Hildenbrand <david@redhat.com>
Fri, 7 Apr 2017 08:50:28 +0000 (10:50 +0200)
committerRadim Krčmář <rkrcmar@redhat.com>
Wed, 12 Apr 2017 18:17:14 +0000 (20:17 +0200)
commitba7454e17f90a7dfecc3eb82ec19eb7ac5b6f0e0
tree9dda398e68130ab68195fa83558bdec78ae8b508
parent33392b4911150d57cd66a4e9dac74f93b4aef2be
KVM: x86: don't take kvm->irq_lock when creating IRQCHIP

I don't see any reason any more for this lock, seemed to be used to protect
removal of kvm->arch.vpic / kvm->arch.vioapic when already partially
inititalized, now access is properly protected using kvm->arch.irqchip_mode
and this shouldn't be necessary anymore.

Signed-off-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
arch/x86/kvm/x86.c