Re: [RFC] KVM Source layout Proposal to accommodate new CPU architecture

Laurent Vivier
2007-09-26T08:44:10Z

[-- Attachment #1.1: Type: text/plain, Size: 3870 bytes --]

Hi,

is this the same layout introduced for the powerpc port ?
Perhaps you should work together ?

Laurent

Zhang, Xiantao wrote:
> Hi Folks,
> We are working on enabling KVM support on IA64 platform, and now
> Linux, Windows guests get stable run and achieve reasonable performance
> on KVM with Open GFW. But you know, the current KVM only considers x86
> platform, and is short of cross-architecture framework. Currently, we
> have a proposal for KVM source layout to accommodate new CPU
> architectures. Attached foil describes the detail. With our proposal, we
> can boot x86 guests based on commit
> 2e278972a11eb14f031dea242a9ed118adfa0932, also didn't see regressions.
> For IA64 side, we are rebasing our code to this framework.
> Main changes to current source:
> 1. Add subdirectories, such as x86 and ia64 to hold arch-specific code.
> 2. Split kvm_main.c to two parts. One is still called kvm_main.c, just
> contains KVM common interfaces with user space, and basic KVM
> infrastructure. The other one is named as kvm_arch.c under sub-directory
> (eg. X86, ia64 etc), which includes arch-specific code to supplement the
> functionality of kvm_main.c
> 3. Add an "include" directory in drivers/kvm. Due to possibly complex
> code logic in KVM source, maybe many header files need to maintain for
> some architectures. If we put them under top-level include/asm-arch
> directory, it may introduce much more maintain effort. So, we put it
> under "drivers/kvm", and let it be effective when kernel configuration
> time.
> BTW, Userspace code changes are not involved in this thread.
> Considering the readability, we didn't attach the diff file in the mail,
> due to big changes to kvm source structure, and only post the tarball
> including whole directory "drivers/kvm" instead. For comparison, I
> attached kvm_main.diff as well.
>
> Any comments are appreciated from you! Hope to see IA64 support on KVM
> earlier!
>
> Thanks & Best Wishes
> Xiantao
> Intel Opensource Technology Center.
>
>
> ------------------------------------------------------------------------
>
>
> *
> BLOCKED FILE ALERT!*
>
> The attachment '.kvm-intel.ko.cmd' has been blocked because it is a
> disallowed file type. The attachment has been replaced by this message.
>
> If you feel you have received this message in error and are an Intel
> employee, then please contact the Global Service Desk
> <http://servicedesk.intel.com>.
>
> More Information:
>
> If you are an Intel employee and internal to the Intel network, visit
> Secure Intel
> <http://secure.intel.com/infosec/response_services/pc+and+network+protection/email+security/email+security.htm>
> to learn more about E-mail attachment options.
>
> If you are not an Intel employee, please contact your Intel sponsor for
> additional information.
>
>
> <http://it.intel.com> Copyright © Intel Corporation, 2002-2006. All
> rights reserved.
> *Other names and brands may be claimed as the property of others.
> **Intel is not responsible for content of sites outside our intranet.
>
>
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> kvm-devel mailing list
> kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/kvm-devel

--
------------- Laurent.Vivier-6ktuUTfB/bM@public.gmane.org --------------
"Software is hard" - Donald Knuth

[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

[-- Attachment #2: Type: text/plain, Size: 228 bytes --]

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

[-- Attachment #3: Type: text/plain, Size: 186 bytes --]

_______________________________________________
kvm-devel mailing list
kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org