From mboxrd@z Thu Jan 1 00:00:00 1970 From: Laurent Vivier Subject: Re: [RFC] KVM Source layout Proposal to accommodate new CPU architecture Date: Wed, 26 Sep 2007 10:44:10 +0200 Message-ID: <46FA1BDA.2060003@bull.net> References: <42DFA526FC41B1429CE7279EF83C6BDC753A4E@pdsmsx415.ccr.corp.intel.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0092064196==" Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org, avi-atKUWr5tajBWk0Htik3J/w@public.gmane.org To: "Zhang, Xiantao" Return-path: In-Reply-To: <42DFA526FC41B1429CE7279EF83C6BDC753A4E-wq7ZOvIWXbMAbVU2wMM1CrfspsVTdybXVpNB7YpNyf8@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: kvm.vger.kernel.org This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --===============0092064196== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig1665EC212708FA654275E3F3" This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig1665EC212708FA654275E3F3 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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, w= e > can boot x86 guests based on commit > 2e278972a11eb14f031dea242a9ed118adfa0932, also didn't see regressions. > For IA64 side, we are rebasing our code to this framework.=20 > 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-director= y > (eg. X86, ia64 etc), which includes arch-specific code to supplement th= e > 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.=20 > 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.=20 >=20 > Any comments are appreciated from you! Hope to see IA64 support on KVM > earlier! >=20 > Thanks & Best Wishes > Xiantao > Intel Opensource Technology Center.=20 >=20 >=20 > -----------------------------------------------------------------------= - >=20 > =09 > * > BLOCKED FILE ALERT!* >=20 > The attachment '.kvm-intel.ko.cmd' has been blocked because it is a > disallowed file type. The attachment has been replaced by this message.= >=20 > If you feel you have received this message in error and are an Intel > employee, then please contact the Global Service Desk > . >=20 > More Information: >=20 > If you are an Intel employee and internal to the Intel network, visit > Secure Intel > > to learn more about E-mail attachment options. >=20 > If you are not an Intel employee, please contact your Intel sponsor for= > additional information. > =20 >=20 > Copyright =A9 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. >=20 >=20 > -----------------------------------------------------------------------= - >=20 > -----------------------------------------------------------------------= -- > 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/ >=20 >=20 > -----------------------------------------------------------------------= - >=20 > _______________________________________________ > kvm-devel mailing list > kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org > https://lists.sourceforge.net/lists/listinfo/kvm-devel --=20 ------------- Laurent.Vivier-6ktuUTfB/bM@public.gmane.org -------------- "Software is hard" - Donald Knuth --------------enig1665EC212708FA654275E3F3 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.7 (GNU/Linux) iD8DBQFG+hva9Kffa9pFVzwRAq4cAJ4pJxYe7qt0w8l/bwrDfwIbHu7E7ACfULV4 WtOIA7v67fHzU6J9820yhHM= =6keL -----END PGP SIGNATURE----- --------------enig1665EC212708FA654275E3F3-- --===============0092064196== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------- 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/ --===============0092064196== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ kvm-devel mailing list kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org https://lists.sourceforge.net/lists/listinfo/kvm-devel --===============0092064196==--