KVM uses various log files. All the log files are standard ASCII files, and accessible with a text editor.
-
The default directory for all file-based images is the /var/lib/libvirt/images
directory.
-
qemu-kvm.[PID].log
is the log file created by the qemu-kvm
process for each fully virtualized guest. When using this log file, you must retrieve the given qemu-kvm
process PID, by using the ps
command to examine process arguments to isolate the qemu-kvm
process on the virtual machine. Note that you must replace the [PID] symbol with the actual PID qemu-kvm
process.
If you encounter any errors with the Virtual Machine Manager, you can review the generated data in the virt-manager.log
file that resides in the /.virt-manager
directory. Note that every time you start the Virtual Machine Manager, it overwrites the existing log file contents. Make sure to backup the virt-manager.log
file, before you restart the Virtual Machine manager after a system error.