Displaying 1 result from an estimated 1 matches for "libxl__resolve_domid".
2013 Apr 12
11
[PATCH v4 1/2] libxl: postpone backend name resolution
...----------------------
diff --git a/tools/libxl/libxl.c b/tools/libxl/libxl.c
index 572c2c6..b994fea 100644
--- a/tools/libxl/libxl.c
+++ b/tools/libxl/libxl.c
@@ -1730,13 +1730,21 @@ static int libxl__device_nextid(libxl__gc *gc, uint32_t domid, char *device)
return nextid;
}
+static int libxl__resolve_domid(libxl__gc *gc, const char *name,
+ uint32_t *domid)
+{
+ if (!name)
+ return 0;
+ return libxl_domain_qualifier_to_domid(libxl__gc_owner(gc), name, domid);
+}
+
/******************************************************************************/
int libxl__...