From: "Anand Gupta" Subject: Re: [Xen-users] Re: Re: need to compile 32bit on x86_64 cpu Date: Fri, 23 Jun 2006 03:13:53 +0530 Message-ID: References: <907625E08839C4409CE5768403633E0BA7FD26@sefsexmb1.amd.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0768492298==" Return-path: In-Reply-To: <907625E08839C4409CE5768403633E0BA7FD26@sefsexmb1.amd.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Mime-version: 1.0 Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "Petersson, Mats" Cc: Harry Butterworth , Jerone Young , xen-devel@lists.xensource.com, Xen Users , Andi Kleen List-Id: xen-devel@lists.xenproject.org --===============0768492298== Content-Type: multipart/alternative; boundary="----=_Part_5455_18642261.1151012633723" ------=_Part_5455_18642261.1151012633723 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Thanks for all the explanation Mats. Well i didn't think of running 64bit on top of 32bit xen, however i certainly thought about vice-versa. However your explanation has made it clear it isn't possible. Thanks for all the help. On 6/23/06, Petersson, Mats wrote: > > No, you can only run the same-bitness for Xenified guests. Xen 3.xsupports unmodified guests at any level of bitness (up to whatever Xen > itself is, you obviously can't run a 64-bit unmodified guest on top of a > 32-bit Xen). > > But for Xenified guests, the Xen-build and the Guest-OS must be the same - > this is because it's actually quite complicated to translate the different > page-table levels and map the memory such that the guest can access it, > etc [not exactly rocket science, of course, but it does make life more > difficult for the hypervisor]. > > It has been discussed to make a shim-layer that translates the Xen-calling > interface. > > Is there any particular reason you feel that you must run a 32-bit > guest-OS. Almost all applications will work just fine in a 64-bit guest. Of > course, there are some exceptions... If so, then you do need to move to > 32-bit host-OS as well as guest-OS, yes. > -- regards, Anand Gupta ------=_Part_5455_18642261.1151012633723 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Thanks for all the explanation Mats.

Well i didn't think of running 64bit on top of 32bit xen, however i certainly thought about vice-versa. However your explanation has made it clear it isn't possible.

Thanks for all the help.

On 6/23/06, Petersson, Mats <Mats.Petersson@amd.com> wrote:
No, you can only run the same-bitness for Xenified guests. Xen 3.x supports unmodified guests at any level of bitness (up to whatever Xen itself is, you obviously can't run a 64-bit unmodified guest on top of a 32-bit Xen).
 
But for Xenified guests, the Xen-build and the Guest-OS must be the same - this is because it's actually quite complicated to translate  the different page-table levels and map the memory such that the guest can access it, etc [not exactly rocket science, of course, but it does make life more difficult for the hypervisor].
 
It has been discussed to make a shim-layer that translates the Xen-calling interface.
 
Is there any particular reason you feel that you must run a 32-bit guest-OS. Almost all applications will work just fine in a 64-bit guest. Of course, there are some exceptions... If so, then you do need to move to 32-bit host-OS as well as guest-OS, yes.


--
regards,

Anand Gupta ------=_Part_5455_18642261.1151012633723-- --===============0768492298== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============0768492298==--