From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takuya Yoshikawa Subject: Re: [PATCH 0/4] KVM: Introduce kvm_memory_slot::arch Date: Mon, 06 Feb 2012 19:10:34 +0900 Message-ID: <4F2FA71A.1010102@oss.ntt.co.jp> References: <20120130124859.6c3bb19f.yoshikawa.takuya@oss.ntt.co.jp> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org To: avi@redhat.com, mtosatti@redhat.com Return-path: Received: from serv2.oss.ntt.co.jp ([222.151.198.100]:43260 "EHLO serv2.oss.ntt.co.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754449Ab2BFKIb (ORCPT ); Mon, 6 Feb 2012 05:08:31 -0500 In-Reply-To: <20120130124859.6c3bb19f.yoshikawa.takuya@oss.ntt.co.jp> Sender: kvm-owner@vger.kernel.org List-ID: (2012/01/30 12:48), Takuya Yoshikawa wrote: > This is the first step to separate the architecture specific members. > The rmap and dirty_bitmap can be treated later based on this. Any further comments? If patch 4 (v3) looks controversial, please consider taking patch 1 to 3. I may use gfn_to_index() for dirty logging. Thanks, Takuya > > v1->v2: > > Patch 3: > - Removed extra checks for NULL when we create a new slot. > - Removed "if (user_alloc)" check taken from the s390 code. > > Patch 4: > - Just rebased. > > Takuya > > arch/ia64/include/asm/kvm_host.h | 3 + > arch/ia64/kvm/kvm-ia64.c | 10 +++++ > arch/powerpc/include/asm/kvm_host.h | 3 + > arch/powerpc/kvm/powerpc.c | 10 +++++ > arch/s390/include/asm/kvm_host.h | 3 + > arch/s390/kvm/kvm-s390.c | 10 +++++ > arch/x86/include/asm/kvm_host.h | 9 ++++ > arch/x86/kvm/mmu.c | 5 +- > arch/x86/kvm/x86.c | 59 +++++++++++++++++++++++++++ > include/linux/kvm_host.h | 18 +++++--- > virt/kvm/kvm_main.c | 76 ++++++---------------------------- > 11 files changed, 135 insertions(+), 71 deletions(-) >