[PATCH 0/9] KVM: cleanups for memslots data structures

From: Paolo Bonzini
Date: Tue May 19 2015 - 13:25:48 EST


These are extracted out of the SMM series, and they make
some sense on their own.

Paolo

Paolo Bonzini (9):
KVM: introduce kvm_alloc/free_memslots
KVM: use kvm_memslots whenever possible
KVM: const-ify uses of struct kvm_userspace_memory_region
KVM: add memslots argument to kvm_arch_memslots_updated
KVM: add "new" argument to kvm_arch_commit_memory_region
KVM: pass kvm_memory_slot to gfn_to_page_many_atomic
KVM: remove __gfn_to_pfn
KVM: x86: pass kvm_mmu_page to gfn_to_rmap
KVM: x86: pass struct kvm_mmu_page to account/unaccount_shadowed

arch/arm/kvm/mmu.c | 10 +-
arch/mips/include/asm/kvm_host.h | 2 +-
arch/mips/kvm/mips.c | 9 +-
arch/powerpc/include/asm/kvm_host.h | 2 +-
arch/powerpc/include/asm/kvm_ppc.h | 14 +--
arch/powerpc/kvm/book3s.c | 9 +-
arch/powerpc/kvm/book3s_64_mmu_hv.c | 2 +-
arch/powerpc/kvm/book3s_hv.c | 15 ++-
arch/powerpc/kvm/book3s_pr.c | 11 ++-
arch/powerpc/kvm/booke.c | 7 +-
arch/powerpc/kvm/powerpc.c | 7 +-
arch/s390/include/asm/kvm_host.h | 2 +-
arch/s390/kvm/kvm-s390.c | 9 +-
arch/x86/include/asm/kvm_host.h | 2 +-
arch/x86/kvm/mmu.c | 34 ++++---
arch/x86/kvm/mmu_audit.c | 7 +-
arch/x86/kvm/x86.c | 17 ++--
include/linux/kvm_host.h | 15 +--
include/linux/kvm_types.h | 1 +
virt/kvm/kvm_main.c | 191 ++++++++++++++++++------------------
20 files changed, 199 insertions(+), 167 deletions(-)

--
1.8.3.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/