I am debugging a problem with a libvirt VM starting, and I want to see the exact command line that it is going to use to start qemu. Is this possible using virsh or some other utility?
Asked
Active
Viewed 1.1k times
4
Jonathon Reinhart
- 3,514
3 Answers
6
You can consult the libvirt logs in:
/var/log/libvirt/qemu/$vmname.log
Source: https://fedoraproject.org/wiki/Windows_Virtio_Drivers
Jonathon Reinhart
- 3,514
2
Just saw this question. In the hope it helps others, the easiest way to see the qemu command that was used, while the VM is running, is:
ps -ef | grep qemu-system-x86
powerhouse
- 131