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-devel

[Xen-devel] determining if kernel is dom0 kernel or not.

To: xendevel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] determining if kernel is dom0 kernel or not.
From: jd <jdsw2002@xxxxxxxxx>
Date: Wed, 11 Jul 2007 11:40:01 -0700 (PDT)
Delivery-date: Wed, 11 Jul 2007 11:37:49 -0700
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=dZS8kSuNG13yOoJAMHqz6xrCC8cxkjeDhAERM4cn/QPeH5a4Trs0VDKspuCi65rYaF4pMWE97wZ2LCPASooGJOyVD8tKu2Xvx1UFTYl3opxWv7a2BbmOGJI70ykYLPxURz5z3HHFgy9J2VugdHC/RF8a4hQVZ4pqO+8d+cuCu2o=;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi
  How do I reliably determine if the current kernel is
dom0 (xen capable) or not ? 
   
   Presence of some file in  linux /proc/xen and
solaris /dev/xen/  ?  

   Any platform independent way ? Some python API ?
Any other ways?

Thanks
/Jd


       
____________________________________________________________________________________
Yahoo! oneSearch: Finally, mobile search 
that gives answers, not web links. 
http://mobile.yahoo.com/mobileweb/onesearch?refer=1ONXIC

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