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 > Xiantao :-).
Agree. I am working on this now. I think we should move all mmu code to arch specific. Avi, What's your ideas ? I rememberd you said we should keep some mmu interface in common, but seems current code is more x86-specific. Maybe we should move them into arch first. If other archs need them, we can move back and work out more generic interfaces. At least, IA64 and S390 doesn't need them:-) Xiantao > > Acked-by: Carsten Otte <[EMAIL PROTECTED]> > > Zhang, Xiantao wrote: >> 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 ++++++++++++++++++++++++++- >> 3 files changed, 35 insertions(+), 23 deletions(-) >> >> diff --git a/drivers/kvm/kvm.h b/drivers/kvm/kvm.h >> ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ kvm-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/kvm-devel
