[libvirt] [PATCH] libxl: Create log directory earlier

Eric Blake eblake at redhat.com
Tue Mar 25 16:15:46 UTC 2014


On 03/25/2014 09:28 AM, Stefan Bader wrote:
> Commit d9f19c30d054c86b15a304f4118baa4fa75af9d2 moved a lot of the
> configuration setup into libxlDriverConfigNew().
> However that tries to create the libxl/libxl-driver.log before the
> libxl directory gets created in libxlStateInitialize().
> 
> This causes the daemon to fail on systems that have not had the directory
> created before.
> 
> Move the code to create the libxl directory into libxlDriverConfigNew().
> 
> Signed-off-by: Stefan Bader <stefan.bader at canonical.com>
> ---
>  src/libxl/libxl_conf.c   |    8 ++++++++
>  src/libxl/libxl_driver.c |    7 -------
>  2 files changed, 8 insertions(+), 7 deletions(-)

ACK and pushed.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 604 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20140325/244e8c81/attachment-0001.sig>


More information about the libvir-list mailing list