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] [PATCH 1/2] remove any uuid dependancies from xl

To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH 1/2] remove any uuid dependancies from xl
From: Vincent Hanquez <vincent.hanquez@xxxxxxxxxxxxx>
Date: Mon, 4 Jan 2010 23:33:31 +0000
Cc: Vincent Hanquez <vincent.hanquez@xxxxxxxxxxxxx>
Delivery-date: Mon, 04 Jan 2010 15:33:05 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1262648012-12826-1-git-send-email-vincent.hanquez@xxxxxxxxxxxxx>
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <1262648012-12826-1-git-send-email-vincent.hanquez@xxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxx>
---
 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

Attachment: 0001-remove-any-uuid-dependancies-from-xl.patch
Description: Text Data

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>