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

[Xen-devel] Allow xenstore client utilities to be built statically.

To: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] Allow xenstore client utilities to be built statically.
From: Ian Campbell <Ian.Campbell@xxxxxxxxxx>
Date: Tue, 08 Apr 2008 17:38:34 +0100
Delivery-date: Tue, 08 Apr 2008 09:41:58 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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: Citrix Systems, Inc.
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
The attached patches enable the xenstore client utilities
(xenstore-read/write and friends) to be built statically and against
uclibc. This is useful for utility domains where a small userspace is
desired.

Both static building with glibc and linking with uclibc seem to have
problems with threading and so the static version of the library is
built without thread support. This is OK since none of the clients
actually require it.

The second patch (static-xenstore-watches) is rather optional since
nothing currently requires it and it is therefore untested.

The third and fourth patches (multicall-xenstore-*) turn the clients
from separate binaries (created via multiple compilation of
xenstore_client.c) into a single multicall binary in order to claw back
some of the space lost to static linking. This also enables the tool be
used as "xenstore <command>" in addition to the existing
"xenstore-<command>" way.

Ian.

Attachment: static-xenstore-clients.patch
Description: Text Data

Attachment: static-xenstore-watches.patch
Description: Text Data

Attachment: multicall-xenstore-clients
Description: Text document

Attachment: multicall-xenstore-ls
Description: Text document

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] Allow xenstore client utilities to be built statically., Ian Campbell <=