KVM: use kvm_memslots whenever possible
authorPaolo Bonzini <pbonzini@redhat.com>
Sun, 17 May 2015 14:20:07 +0000 (16:20 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 26 May 2015 10:40:08 +0000 (12:40 +0200)
commit9f6b8029787bb37170d4535e9fc09158f634282c
tree98dd85bdc89d01f819fd75840b4b75c13badb5a6
parenta47d2b07ea755b1761a93df720d725f464876e72
KVM: use kvm_memslots whenever possible

kvm_memslots provides lockdep checking.  Use it consistently instead of
explicit dereferencing of kvm->memslots.

Reviewed-by: Radim Krcmar <rkrcmar@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/arm/kvm/mmu.c
arch/mips/kvm/mips.c
arch/powerpc/kvm/book3s_64_mmu_hv.c
arch/powerpc/kvm/book3s_hv.c
arch/powerpc/kvm/book3s_pr.c
arch/s390/kvm/kvm-s390.c
arch/x86/kvm/x86.c
virt/kvm/kvm_main.c