aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libxl/libxl_utils.h
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2009-11-25 14:19:50 +0000
committerKeir Fraser <keir.fraser@citrix.com>2009-11-25 14:19:50 +0000
commit1a2c608279791f722de31b7e6b60821e73e8a25f (patch)
tree466861997a31dd9d258566404c2931ade4027b2b /tools/libxl/libxl_utils.h
parent6eeeaeb211e6d1f9f676c7f5e4aaa0e000537977 (diff)
downloadxen-1a2c608279791f722de31b7e6b60821e73e8a25f.tar.gz
xen-1a2c608279791f722de31b7e6b60821e73e8a25f.tar.bz2
xen-1a2c608279791f722de31b7e6b60821e73e8a25f.zip
libxenlight: move logging macros to the public header
This patch moves the logging macros to the public header so that they can be reused by the client of the library. It also refactors the code to create the qemu logfile into a generic function that can be reused to create generic xen logfiles under /var/log/xen. Finally xl is changed to log to file when running in background. Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Diffstat (limited to 'tools/libxl/libxl_utils.h')
-rw-r--r--tools/libxl/libxl_utils.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/libxl/libxl_utils.h b/tools/libxl/libxl_utils.h
index e4e487cb23..cf57b0febb 100644
--- a/tools/libxl/libxl_utils.h
+++ b/tools/libxl/libxl_utils.h
@@ -31,6 +31,7 @@ char *libxl_uuid_to_string(struct libxl_ctx *ctx, xen_uuid_t *uuid);
int libxl_param_to_domid(struct libxl_ctx *ctx, char *p, uint32_t *domid);
int libxl_get_stubdom_id(struct libxl_ctx *ctx, int guest_domid);
int libxl_is_stubdom(struct libxl_ctx *ctx, int domid);
+int libxl_create_logfile(struct libxl_ctx *ctx, char *name, char **full_name);
#endif