aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libxl/libxl_blktap2.c
diff options
context:
space:
mode:
authorGianni Tedesco <gianni.tedesco@citrix.com>2010-08-16 17:15:04 +0100
committerGianni Tedesco <gianni.tedesco@citrix.com>2010-08-16 17:15:04 +0100
commit577875ae06dbc6d4450a58233ed2ce430d2925dc (patch)
treec43b6dc6df204dd15ad960c6de840413b79dad91 /tools/libxl/libxl_blktap2.c
parent1ecf910c9bdc713968d0e1515be865d31267619a (diff)
downloadxen-577875ae06dbc6d4450a58233ed2ce430d2925dc.tar.gz
xen-577875ae06dbc6d4450a58233ed2ce430d2925dc.tar.bz2
xen-577875ae06dbc6d4450a58233ed2ce430d2925dc.zip
xl: make libxl_uuid2string internal to libxenlight
libxenlight exports a function libxl_uuid2string which is used internally in several places but has one external caller in xl. This means that libxl internal callers leak since they were not expecting to have to free() the UUID since the per-api-call-gc-lifetime patch. Convert libxl_uuid2string to be an internal function which participates in the callers garbage collection. Eliminate string_of_uuid() macro in favour of "format" and "arguments" macros suitable for printf()-like functions which are made part of the libxl API and fix-up xl callers to use that to avoid code duplication and enhance readability. Signed-off-by: Gianni Tedesco <gianni.tedesco@citrix.com> Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com> committer: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Diffstat (limited to 'tools/libxl/libxl_blktap2.c')
0 files changed, 0 insertions, 0 deletions