[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.