[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] libxl: export libxl__device_from_disk
# HG changeset patch # User Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx> # Date 1338305808 -3600 # Node ID 5d58718ad55dc5c8093a996dc5ba019f50b34e1e # Parent b23601dad71d53a772b35900823c62ccf9653fa9 libxl: export libxl__device_from_disk Signed-off-by: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx> Acked-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx> Committed-by: Ian Campbell <ian.campbell@xxxxxxxxxx> --- diff -r b23601dad71d -r 5d58718ad55d tools/libxl/libxl.c --- a/tools/libxl/libxl.c Tue May 29 16:36:47 2012 +0100 +++ b/tools/libxl/libxl.c Tue May 29 16:36:48 2012 +0100 @@ -1327,7 +1327,7 @@ int libxl__device_disk_setdefault(libxl_ return rc; } -static int libxl__device_from_disk(libxl__gc *gc, uint32_t domid, +int libxl__device_from_disk(libxl__gc *gc, uint32_t domid, libxl_device_disk *disk, libxl__device *device) { diff -r b23601dad71d -r 5d58718ad55d tools/libxl/libxl_internal.h --- a/tools/libxl/libxl_internal.h Tue May 29 16:36:47 2012 +0100 +++ b/tools/libxl/libxl_internal.h Tue May 29 16:36:48 2012 +0100 @@ -1278,6 +1278,10 @@ _hidden char *libxl__blktap_devpath(libx */ _hidden void libxl__device_destroy_tapdisk(libxl__gc *gc, char *be_path); +_hidden int libxl__device_from_disk(libxl__gc *gc, uint32_t domid, + libxl_device_disk *disk, + libxl__device *device); + /* * Make a disk available in this (the control) domain. Returns path to * a device. _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |