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

Re: [Xen-ia64-devel] [patch 3/3] Set alternate location for /proc/iomem

To: Alex Williamson <alex.williamson@xxxxxx>
Subject: Re: [Xen-ia64-devel] [patch 3/3] Set alternate location for /proc/iomem on ia64 xen
From: Horms <horms@xxxxxxxxxxxx>
Date: Tue, 25 Sep 2007 18:09:51 +0900
Cc: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 25 Sep 2007 02:10:18 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <1189634195.6287.43.camel@lappy>
List-help: <mailto:xen-ia64-devel-request@lists.xensource.com?subject=help>
List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>
List-post: <mailto:xen-ia64-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=unsubscribe>
References: <20070912091740.411152109@xxxxxxxxxxxx> <20070912092508.620610521@xxxxxxxxxxxx> <1189634195.6287.43.camel@lappy>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: mutt-ng/devel-r804 (Debian)
On Wed, Sep 12, 2007 at 03:56:35PM -0600, Alex Williamson wrote:
> On Wed, 2007-09-12 at 18:17 +0900, Simon Horman wrote:
> > +const char *proc_iomem(int machine)
> > +{
> > +   if (machine && xen_present())
> > +           return proc_iomem_machine_str;
> > +        return proc_iomem_str;
> > +}
> 
>    Just curious, what does xen_present() check to test for xen?  Thanks,

It just checks to see it /proc/xen exists.

-- 
Horms
  H: http://www.vergenet.net/~horms/
  W: http://www.valinux.co.jp/en/


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