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-api

Re: [Xen-API] [PATCH 2 of 4] xc: split xc non-upstream bindings into xce

To: Vincent Hanquez <Vincent.Hanquez@xxxxxxxxxxxxx>
Subject: Re: [Xen-API] [PATCH 2 of 4] xc: split xc non-upstream bindings into xcext module
From: Ian Campbell <Ian.Campbell@xxxxxxxxxxxxx>
Date: Fri, 19 Nov 2010 13:32:46 +0000
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>, "xen-api@xxxxxxxxxxxxxxxxxxx" <xen-api@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Fri, 19 Nov 2010 05:33:57 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4CE662D9.6030808@xxxxxxxxxxxxx>
List-help: <mailto:xen-api-request@lists.xensource.com?subject=help>
List-id: Discussion of API issues surrounding Xen <xen-api.lists.xensource.com>
List-post: <mailto:xen-api@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=unsubscribe>
Organization: Citrix Systems, Inc.
References: <patchbomb.1290077414@xxxxxxxxxxxxxxxxxxxxxx> <be3de1c0aa0687ef9fa6.1290077416@xxxxxxxxxxxxxxxxxxxxxx> <4CE539E4.9000204@xxxxxxxxxxxxx> <1290094550.31507.5391.camel@xxxxxxxxxxxxxxxxxxxxxx> <4CE662D9.6030808@xxxxxxxxxxxxx>
Sender: xen-api-bounces@xxxxxxxxxxxxxxxxxxx
On Fri, 2010-11-19 at 11:43 +0000, Vincent Hanquez wrote:
> option 1 is more dynamic than option 2. you can mix and match backend 
> just setting/unsetting your XIU environment before any XC call technically.
> this isn't possible  with LD_PRELOAD, since it's one shot during the 
> start of your program.

True, I hadn't thought of it that way.

> 3 is pretty much equivalent to 1 and best technically IMO.

Agreed.

> it's just a bit more efforts to do,

It turns out to have been a mornings work to implement the hooks support
in libxc plus a simple "ENOSYS stub". I'm hoping it will be an
afternoons work to port xc_lib_injection.c over, but perhaps I'm over
ambitious ;-)

Ian.




_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-api

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