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] How to determine if executing under Xen

To: mjfeeney@xxxxxxxxxxx, xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] How to determine if executing under Xen
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= ;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <BAY115-W2713408DD02ADEAAFD518DC5B0@xxxxxxx>
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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

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