(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(-)
-- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html