Xen 
 
Home About Xen.org Xen Xen Summit Wiki Mailing List Bug Tracker Xen Downloads
 
   
 

xen-devel

[Xen-devel] Re: arch-specific xc.c code?

To: Ewan Mellor <ewan@xxxxxxxxxxxxx>
Subject: [Xen-devel] Re: arch-specific xc.c code?
From: Hollis Blanchard <hollisb@xxxxxxxxxx>
Date: Thu, 31 Aug 2006 14:08:01 -0500
Cc: Alistair Tse <atse@xxxxxxxxxxxxx>, xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 31 Aug 2006 12:07:54 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20060831184429.GA4921@xxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Organization: IBM Linux Technology Center
References: <1156970448.9513.80.camel@xxxxxxxxxxxxxxxxxxxxx> <20060831184429.GA4921@xxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On Thu, 2006-08-31 at 19:44 +0100, Ewan Mellor wrote:
> On Wed, Aug 30, 2006 at 03:40:47PM -0500, Hollis Blanchard wrote:
> 
> > Hi Ewan/Alistair, I have a patch that looks like this:
> > 
> > xc_alloc_real_mode_area() is a PowerPC-specific libxc function. How
> > would you like this handled in xc.c? Just an ifdef?
> 
> I'd like the xc object to be a direct reflection of what's in libxenguest and
> libxenctrl, so if you've got an arch-specific #ifdef that puts this function
> into libxc, then yes, just using that would be fine.  (I don't see that
> function in my tree, so I can't see for myself which library it ends up in).

Yeah, I'm adding that function to libxc but wasn't sure how to modify
xc.c to expose it. In libxc, whole files are conditionally built (so
technically no ifdef is used), but I will add an ifdef to xc.c. Thanks.

-- 
Hollis Blanchard
IBM Linux Technology Center


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

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