TEMPORARY libvirtd logging to try to catch bug 1219198

This commit is contained in:
Richard W.M. Jones 2015-05-07 14:27:00 +01:00
parent a59a7678fa
commit 9492549381

View File

@ -916,8 +916,12 @@ popd
# is obviously broken. Also dump libvirt log files if this happens.
# Since it's most likely libvirt which is broken, make sure libvirt
# debugging is enabled here.
mkdir -p $HOME/.config/libvirt
echo 'log_filters="1:qemu"' > $HOME/.config/libvirt/libvirtd.conf
echo 'log_outputs="1:file:/tmp/libvirtd.log"' >> $HOME/.config/libvirt/libvirtd.conf
if ! make quickcheck LIBVIRT_DEBUG=1; then
cat $HOME/.cache/libvirt/qemu/log/*
cat /tmp/libvirtd.log
exit 1
fi