Re: [kvm-devel] [PATCH] 5/5 Move-some-x86-specific-part-from-kvm_init-to-kvm_arch

2007-11-14 Thread Zhang, Xiantao
Carsten Otte wrote: I think two other functionalities need to be moved to kvm_arch_init which are still in common: The call to kvm_mmu_set_nonpresent_ptes() and the creation of kvm_vcpu_cache. This can well be done after merging this patch. kvm_init looks very much cleaned up now, well done

Re: [kvm-devel] [PATCH] 5/5 Move-some-x86-specific-part-from-kvm_init-to-kvm_arch

2007-11-14 Thread Avi Kivity
Zhang, Xiantao wrote: Carsten Otte wrote: I think two other functionalities need to be moved to kvm_arch_init which are still in common: The call to kvm_mmu_set_nonpresent_ptes() and the creation of kvm_vcpu_cache. This can well be done after merging this patch. kvm_init looks very much

Re: [kvm-devel] [PATCH] 5/5 Move-some-x86-specific-part-from-kvm_init-to-kvm_arch

2007-11-14 Thread Carsten Otte
Zhang, Xiantao wrote: Agree. I am working on this now. I think we should move all mmu code to arch specific. Yea, I think ppc does'nt need it as well. Hollis? - This SF.net email is sponsored by: Splunk Inc. Still

[kvm-devel] [PATCH] 5/5 Move-some-x86-specific-part-from-kvm_init-to-kvm_arch

2007-11-13 Thread Zhang, Xiantao
From: Zhang Xiantao [EMAIL PROTECTED] Move-some-x86-specific-part-from-kvm_init-to-kvm_arch Signed-off-by: Zhang Xiantao [EMAIL PROTECTED] --- drivers/kvm/kvm.h |5 +++-- drivers/kvm/kvm_main.c | 26 ++ drivers/kvm/x86.c | 27 ++-