Capture QEMU logs

This commit adds support for capturing any qemu logs. We were previously
capturing the libvirt logs, but for debugging it is useful to also have
the qemu logs.

Change-Id: I0d14074430a6a8ec6d99722646225f4ca3262080
This commit is contained in:
Matthew Treinish
2014-06-26 10:36:54 -04:00
parent e5a09da30c
commit 39ca310a30

View File

@@ -475,6 +475,10 @@ function cleanup_host {
# libvirt
if [ -d /var/log/libvirt ] ; then
sudo cp /var/log/libvirt/libvirtd*.log $BASE/logs/
if [ -d /var/log/libvirt/qemu ] ; then
sudo mkdir $BASE/logs/qemu
sudo cp /var/log/libvirt/qemu/* $BASE/logs/qemu/
fi
fi
# sudo config