KVM: Convert kvm_lock to raw_spinlock
authorJan Kiszka <jan.kiszka@siemens.com>
Tue, 8 Feb 2011 11:55:33 +0000 (12:55 +0100)
committerMarcelo Tosatti <mtosatti@redhat.com>
Thu, 17 Mar 2011 16:08:30 +0000 (13:08 -0300)
commite935b8372cf8c63dc618a9f2b24ab360a225f1cd
tree024c5f7a7f76dab86fc905398ab31e28e5465821
parentbd3d1ec3d26b61120bb4f60b18ee99aa81839e6b
KVM: Convert kvm_lock to raw_spinlock

Code under this lock requires non-preemptibility. Ensure this also over
-rt by converting it to raw spinlock.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/include/asm/kvm_host.h
arch/x86/kvm/mmu.c
arch/x86/kvm/x86.c
virt/kvm/kvm_main.c