Vincent Hanquez
2010-Jan-04 23:33 UTC
[Xen-devel] [PATCH 0/2] install xl header and uuid deps removal
This small patchset make the library usable outside of the xen tree by installing libxl.h. As a side effect it does remove dependancies on xen_uuid.h, and lots of uuid functions shifting the uuid dependancies to clients of the library as it should be. Vincent Hanquez (2): remove any uuid dependancies from xl install libxl.h tools/libxl/Makefile | 6 +-- tools/libxl/libxl.c | 39 ++---------- tools/libxl/libxl.h | 7 +- tools/libxl/libxl_internal.h | 6 ++ tools/libxl/libxl_utils.c | 85 -------------------------- tools/libxl/libxl_utils.h | 8 --- tools/libxl/xen_uuid.h | 135 ------------------------------------------ tools/libxl/xl.c | 68 +++++++++++++++------ 8 files changed, 67 insertions(+), 287 deletions(-) delete mode 100644 tools/libxl/xen_uuid.h _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Vincent Hanquez
2010-Jan-04 23:33 UTC
[Xen-devel] [PATCH 1/2] remove any uuid dependancies from xl
uuid handles in create and now create_device_model need to fill the uuid field by client. the uuid field happens to be the exact same size as the standard uuid (sixteen 8 bits values). stubdom need to have a uuid when created, so using the one in create_device_model. this permits the client library to generate the uuid in any way it see fits (even if it''s not compliant to any standard), and simplify installation of the libxenlight header. xl converted from libuuid generated uuid to generated through random() C call. need to be fixed if anyone plan to use xl for anything seriously apart from developing libxl. Signed-off-by: Vincent Hanquez <vincent.hanquez@eu.citrix.com> --- tools/libxl/Makefile | 5 -- tools/libxl/libxl.c | 39 ++---------- tools/libxl/libxl.h | 7 +- tools/libxl/libxl_internal.h | 6 ++ tools/libxl/libxl_utils.c | 85 -------------------------- tools/libxl/libxl_utils.h | 8 --- tools/libxl/xen_uuid.h | 135 ------------------------------------------ tools/libxl/xl.c | 68 +++++++++++++++------ 8 files changed, 66 insertions(+), 287 deletions(-) delete mode 100644 tools/libxl/xen_uuid.h _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Signed-off-by: Vincent Hanquez <vincent.hanquez@eu.citrix.com> --- tools/libxl/Makefile | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel