[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • To: xendevel <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • 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=;
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.