]> xenbits.xensource.com Git - libvirt.git/commit
libxl: Create per-domain log file
authorJim Fehlig <jfehlig@suse.com>
Thu, 8 Aug 2013 19:04:27 +0000 (13:04 -0600)
committerJim Fehlig <jfehlig@suse.com>
Fri, 9 Aug 2013 14:22:16 +0000 (08:22 -0600)
commitd72ef888766782ef1066fc025f18a70bb454ec7a
tree06978ebb16433e08e50b6a4dee25a0012d3d38ae
parent38550ae80978d590a0dccf79108ec96180771fe1
libxl: Create per-domain log file

Currently, only one log file is created by the libxl driver, with
all output from libxl for all domains going to this one file.

Create a per-domain log file based on domain name, making sifting
through the logs a bit easier.  This required deferring libxl_ctx
allocation until starting the domain, which is fine since the
ctx is not used when the domain is inactive.

Tested-by: Dario Faggioli <dario.faggioli@citrix.com>
src/libxl/libxl_conf.h
src/libxl/libxl_driver.c