Displaying 2 results from an estimated 2 matches for "libxl_domain_qualifier_to_domid".
2013 Apr 12
11
[PATCH v4 1/2] libxl: postpone backend name resolution
...pbell@citrix.com>
---
This patch does not include the changes to tools/libxl/libxlu_disk_l.c
and tools/libxl/libxlu_disk_l.h because the diffs contain unrelated
changes due to different generator versions.
Changes since v3:
- Add #define LIBXL_HAVE_DEVICE_BACKEND_DOMNAME in libxl.h
- Create libxl_domain_qualifier_to_domid function in libxl_util.h
docs/misc/xl-disk-configuration.txt | 12 ++++++
tools/libxl/libxl.c | 17 +++++++--
tools/libxl/libxl.h | 12 ++++++
tools/libxl/libxl_types.idl | 5 +++
tools/libxl/libxl_utils.c | 19 ++++++++++
tools/libxl/libxl_utils...
2013 May 14
5
tools/libxl: fix compilation and link errors on NetBSD
...t.so
$(CC) $(LDFLAGS) -o $@ $(SAVE_HELPER_OBJS) $(LDLIBS_libxenctrl) $(LDLIBS_libxenguest) $(APPEND_LDFLAGS)
diff --git a/tools/libxl/libxl_utils.c b/tools/libxl/libxl_utils.c
index 35da71c..0c039b1 100644
--- a/tools/libxl/libxl_utils.c
+++ b/tools/libxl/libxl_utils.c
@@ -95,7 +95,7 @@ int libxl_domain_qualifier_to_domid(libxl_ctx *ctx, const char *name,
{
int i, rv;
for (i=0; name[i]; i++) {
- if (!isdigit(name[i])) {
+ if (!isdigit((unigned char)name[i])) {
goto nondigit_found;
}
}