Bug#784880: [PATCH for-4.6] tools: libxl: Handle failure to create qemu dm logfile

2015-07-15 Thread Ian Campbell
On Mon, 2015-07-13 at 14:07 +0100, Wei Liu wrote: On Mon, Jul 13, 2015 at 01:31:23PM +0100, Ian Campbell wrote: If libxl_create_logfile fails for some reason then libxl__create_qemu_logfile previously just carried on and dereferenced the uninitialised logfile. Check for the error from

Bug#784880: [PATCH for-4.6] tools: libxl: Handle failure to create qemu dm logfile

2015-07-13 Thread Ian Campbell
If libxl_create_logfile fails for some reason then libxl__create_qemu_logfile previously just carried on and dereferenced the uninitialised logfile. Check for the error from libxl_create_logfile, which has already logged for us. This was reported as Debian bug #784880. Reported-by: Russell

Bug#784880: [PATCH for-4.6] tools: libxl: Handle failure to create qemu dm logfile

2015-07-13 Thread Wei Liu
On Mon, Jul 13, 2015 at 01:31:23PM +0100, Ian Campbell wrote: If libxl_create_logfile fails for some reason then libxl__create_qemu_logfile previously just carried on and dereferenced the uninitialised logfile. Check for the error from libxl_create_logfile, which has already logged for us.