Hi Avi, This series of patches are intended to further split x86 specific code from kvm_main.c, and make kvm_main.c arch-independent. For easy review, I splitted them into small patches. With these patches, we almost finish the first stage work for code split.
[1/5] Remove unused header files include from kvm_main.c since the corresponding functions have been moved to x86.c [2/5] Move kvm_x86_ops definition to x86, and prepare for next step's work. [3/5] Using kvm_arch prefix to redefine kvm_x86_ops->ops in x86.c. and make kvm_x86_ops as x86_specific part. [4/5] Combine kvm_init and kvm_init_x86 into one kvm_init function, and meanwhile, remove module_init and module_exit function since kvm_init will called by svm and vmx. [5/5] Make kvm_init as arch-indepenent, through defining a void pointer type parameter . All archs will register their corresponding functions into kvm module. For example, x86 will use this parameter to register vmx/svm's ops. CC to Hollis and Carste to check whether they block your sides. :) Thanks Xiantao ------------------------------------------------------------------------- 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 kvm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-devel