From mboxrd@z Thu Jan 1 00:00:00 1970 From: jd Subject: determining if kernel is dom0 kernel or not. Date: Wed, 11 Jul 2007 11:40:01 -0700 (PDT) Message-ID: <650667.22602.qm@web35804.mail.mud.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xendevel List-Id: xen-devel@lists.xenproject.org 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