WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] Kernel types and xen caps : PV/HVM, 32/64 bit, PAE/non-P

To: jd <jdsw2002@xxxxxxxxx>
Subject: Re: [Xen-users] Kernel types and xen caps : PV/HVM, 32/64 bit, PAE/non-PAE
From: Evan Lavelle <sa212+xen@xxxxxxxxxxx>
Date: Fri, 14 Dec 2007 18:09:34 +0000
Cc: XenUsers <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Fri, 14 Dec 2007 10:10:03 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <974788.11428.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <974788.11428.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.9 (Windows/20071031)
jd wrote:
Hi
Is there a doc/wiki page which explains, the kind of
domu images/appliances/kernels can be run with what
type of dom0 kernels(xen_caps).

For example :
-- Can a 32 bit, non-PAE domU run on 64 bit, PAE dom 0
in PV mode ? (or HVM mode ?)

See entry 1.7 in the FAQ:

http://wiki.xensource.com/xenwiki/XenFaq

I don't think there's a "64-bit PAE" - you only get 32-bit, 32-bit PAE, and 64-bit.

Are there any checks that can be done before doing the
migration ?

Is there any programmatic way (from python) to find
out  if the kernel in a domU disk image is 32bit/64
bit/PAE/non-PAE/PV/HVM ?i.e. can I generate xen_caps
like string from the kernel ?

I don't know any Python, but the example config file starts with

import os, re
arch = os.uname()[4]
if re.search('64', arch):
    arch_libdir = 'lib64'
else:
    arch_libdir = 'lib'

which I think is what you want.

Evan

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>