diff options
author | Roger Pau Monne <roger.pau@citrix.com> | 2012-07-26 16:47:29 +0100 |
---|---|---|
committer | Roger Pau Monne <roger.pau@citrix.com> | 2012-07-26 16:47:29 +0100 |
commit | d2b17a8cb3fc7d6fa32da0a516e05f9da5907794 (patch) | |
tree | a36bbcc3098481a8d762af155e804859cfbb1c97 /tools/libxl/libxl_internal.h | |
parent | af5ef322304bb7e1017c06c32211529f0ea33601 (diff) | |
download | xen-d2b17a8cb3fc7d6fa32da0a516e05f9da5907794.tar.gz xen-d2b17a8cb3fc7d6fa32da0a516e05f9da5907794.tar.bz2 xen-d2b17a8cb3fc7d6fa32da0a516e05f9da5907794.zip |
libxl: refactor disk addition to take a helper
Change libxl__device_disk_add to no longer take a xs transaction and
instead pass a helper for the local attach case that's used to get the
free vdev.
This function contains some non-functional changes due to an
indentation change.
Signed-off-by: Roger Pau Monne <roger.pau@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
Committed-by: Ian Campbell <ian.campbell@citrix.com>
Diffstat (limited to 'tools/libxl/libxl_internal.h')
-rw-r--r-- | tools/libxl/libxl_internal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/libxl/libxl_internal.h b/tools/libxl/libxl_internal.h index fc71eb4ec8..a0ba3bdf6d 100644 --- a/tools/libxl/libxl_internal.h +++ b/tools/libxl/libxl_internal.h @@ -1339,7 +1339,7 @@ _hidden int libxl__device_from_disk(libxl__gc *gc, uint32_t domid, libxl_device_disk *disk, libxl__device *device); _hidden int libxl__device_disk_add(libxl__gc *gc, uint32_t domid, - xs_transaction_t t, libxl_device_disk *disk); + libxl_device_disk *disk); /* * Make a disk available in this (the control) domain. Returns path to |