search for: stdoutfd

Displaying 2 results from an estimated 2 matches for "stdoutfd".

Did you mean: stdout_fd
2009 Nov 18
6
[PATCH 1/3] libxenlight: Clean up logging arrangements
...rn ERROR_FAIL; } xc_cpuid_apply_policy(ctx->xch, domid); diff --git a/tools/libxl/libxl_exec.c b/tools/libxl/libxl_exec.c index 8d7928b..8a589b6 100644 --- a/tools/libxl/libxl_exec.c +++ b/tools/libxl/libxl_exec.c @@ -28,7 +28,7 @@ int libxl_exec(struct libxl_ctx *ctx, int stdinfd, int stdoutfd, int stderrfd, pid = fork(); if (pid == -1) { - XL_LOG(ctx, XL_LOG_ERROR, "fork failed"); + XL_LOG_ERRNO(ctx, XL_LOG_ERROR, "fork failed"); return -1; } if (pid == 0) { diff --git a/tools/libxl/libxl_internal.c b/tools/libxl/libxl_int...
2010 Aug 12
0
[PATCH, v2]: xl: Implement per-API-call garbage-collection lifetime
...d int dev, unsigned int func); /* from xenguest (helper */ _hidden int hvm_build_set_params(xc_interface *handle, uint32_t domid, @@ -225,18 +236,17 @@ _hidden int libxl_spawn_check(libxl_ctx /* low-level stuff, for synchronous subprocesses etc. */ _hidden void libxl_exec(int stdinfd, int stdoutfd, int stderrfd, char *arg0, char **args); // logs errors, never returns -_hidden void libxl_log_child_exitstatus(libxl_ctx *ctx, +_hidden void libxl_log_child_exitstatus(libxl_gc *gc, const char *what, pid_t pid, int status); -_hidden char *libxl_abs_path(libxl_ctx...