[libvirt] [PATCH] qemu_process: show shutoff reasons when debug log disabled

John Ferlan jferlan at redhat.com
Wed Sep 21 21:09:03 UTC 2016



On 09/19/2016 04:17 AM, Chen Hanxiao wrote:
> From: Chen Hanxiao <chenhanxiao at gmail.com>
> 
> We have a few of senarios that libvirtd would invoke qemuProcessStop
> and leave a "shutting down" in /var/log/libvirt/qemu/$DOMAIN.log.
> 
> The shutoff reason showing in debug log is also very important
> for us to know why VM shutting down in domain log,
> as we seldom enable debug log of libvirtd.
> 
> Signed-off-by: Chen Hanxiao <chenhanxiao at gmail.com>
> ---
>  src/qemu/qemu_process.c | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
> 

Seems reasonable

ACK and pushed

Tks,

John




More information about the libvir-list mailing list