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

[Xen-changelog] [xen-unstable] libxl: export libxl__device_from_disk


  • To: xen-changelog@xxxxxxxxxxxxxxxxxxx
  • From: Xen patchbot-unstable <patchbot@xxxxxxx>
  • Date: Wed, 30 May 2012 13:22:08 +0000
  • Delivery-date: Wed, 30 May 2012 13:22:16 +0000
  • List-id: "Change log for Mercurial \(receive only\)" <xen-changelog.lists.xen.org>

# 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


 


Rackspace

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