diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2010-05-28 09:34:42 +0100 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2010-05-28 09:34:42 +0100 |
commit | 1fe4b0e07c2ed1d521dfabc6f3f564932fcf3224 (patch) | |
tree | 921083546a4c686cc7d475b9c1e53d1052b0660d /tools/libxl/libxl_exec.c | |
parent | 4046aa9cbed80adad144103ab29e0ac9d171dbf4 (diff) | |
download | xen-1fe4b0e07c2ed1d521dfabc6f3f564932fcf3224.tar.gz xen-1fe4b0e07c2ed1d521dfabc6f3f564932fcf3224.tar.bz2 xen-1fe4b0e07c2ed1d521dfabc6f3f564932fcf3224.zip |
libxl: Use the caller's logger (xentoollog)
We now require callers to provide a xentoollog_logger* for
libxl_ctx_init, and use that for all our own logging and also for
xc_interface_open.
Corresponding change to xl.c.
Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
Diffstat (limited to 'tools/libxl/libxl_exec.c')
-rw-r--r-- | tools/libxl/libxl_exec.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/libxl/libxl_exec.c b/tools/libxl/libxl_exec.c index 52dda97f5b..83c14d2720 100644 --- a/tools/libxl/libxl_exec.c +++ b/tools/libxl/libxl_exec.c @@ -57,7 +57,8 @@ void libxl_exec(int stdinfd, int stdoutfd, int stderrfd, char *arg0, char **args _exit(-1); } -void libxl_report_child_exitstatus(struct libxl_ctx *ctx, int level, +void libxl_report_child_exitstatus(struct libxl_ctx *ctx, + xentoollog_level level, const char *what, pid_t pid, int status) { |