Re: [PATCH 0/6] KVM: Clean up and optimize set_memory_region() - part2

Cornelia Huck
2013-02-28T09:48:52Z

On Wed, 27 Feb 2013 19:41:03 +0900
Takuya Yoshikawa <yoshikawa_takuya_b1@lab.ntt.co.jp> wrote:

> Note: this is based on the latest master branch.
>
> I'm sending this before 3.9-rc1 is released since this can cause extra
> conflicts unless we make this available to all arch before we start
> adding new stuff.
>
> Please review: every change is trivial and should not change anything.
>
> Takuya Yoshikawa (6):
> KVM: set_memory_region: Drop user_alloc from prepare/commit_memory_region()
> KVM: set_memory_region: Drop user_alloc from set_memory_region()
> KVM: set_memory_region: Make kvm_mr_change available to arch code
> KVM: set_memory_region: Refactor prepare_memory_region()
> KVM: set_memory_region: Refactor commit_memory_region()
> KVM: ARM: Remove kvm_arch_set_memory_region()
>
> arch/arm/kvm/arm.c | 15 ++----------
> arch/ia64/kvm/kvm-ia64.c | 25 ++-------------------
> arch/powerpc/include/asm/kvm_ppc.h | 2 +-
> arch/powerpc/kvm/book3s_hv.c | 4 +-
> arch/powerpc/kvm/book3s_pr.c | 2 +-
> arch/powerpc/kvm/booke.c | 2 +-
> arch/powerpc/kvm/powerpc.c | 13 +++++------
> arch/s390/kvm/kvm-s390.c | 10 ++------
> arch/x86/kvm/vmx.c | 6 ++--
> arch/x86/kvm/x86.c | 25 +++++++++------------
> include/linux/kvm_host.h | 35 +++++++++++++++++++++---------
> virt/kvm/kvm_main.c | 40 ++++++++---------------------------
> 12 files changed, 67 insertions(+), 112 deletions(-)
>

Looks fine on s390.

Tested-by: Cornelia Huck <cornelia.huck@de.ibm.com>