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

Re: [Xen-users] How to determine if executing under Xen


  • To: mjfeeney@xxxxxxxxxxx, xen-users@xxxxxxxxxxxxxxxxxxx
  • From: dasari dakshina <dakshi80@xxxxxxxxx>
  • Date: Wed, 26 Jul 2006 20:28:12 -0700 (PDT)
  • Delivery-date: Wed, 26 Jul 2006 20:28:53 -0700
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=hjUv4Lwm7IVvEbswXHPdDcfpXNjv9aAZ7G84cHdJHPFx3gsfYjyDDzuoPRKH0snXif46bGcpQtEEX5UleEvtAqejelBzpzcfuzDKWsHrsOwkYGyS2D9T579fB5MK1ehNiAJZt7peGKGV5gv0yIUpwqfSHDbh6zZWLVIYGxHHzvE= ;
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Hi,
If its Dom0
You can check if xend is runnning.If so its running on

Xen.
Thanks,
Dakshina

--- mjfeeney@xxxxxxxxxxx wrote:

> Hello,
>  
> I apologize if this has been asked before.  I
> searched but could not find a similar question.
>  
>  
> I am writing a device driver targeted for Linux
> 2.6.16 running under Xen 3.0.  Is there an easy
> mechanism for my code to determine if Linux is
> running as a Xen domain rather than natively?  I
> want to behave slightly differently in each case.
> Thanks - Martin
>
_________________________________________________________________
> Try Live.com: where your online world comes together
> - with news, sports, weather, and much more.
> http://www.live.com/getstarted>
_______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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


 


Rackspace

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