]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: monitor: Add infrastructure to access VM logs for better err msgs
authorPeter Krempa <pkrempa@redhat.com>
Wed, 18 Sep 2013 14:12:17 +0000 (16:12 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 25 Sep 2013 11:50:56 +0000 (13:50 +0200)
commit8519e9ecdcc26f9753dbd85e897daabbaa82dee8
tree4bfe41aab6bccb7722416cced0602979783840bb
parent310651a5e346b23db9015061452b1887335aed67
qemu: monitor: Add infrastructure to access VM logs for better err msgs

Early VM startup errors usually produce a better error message in the
machine log file. Currently we were accessing it only when the process
exited during certain phases of startup. This will help adding a more
comprehensive error extraction for early qemu startup phases.

This patch adds infrastructure to keep a file descriptor for the machine
log file that will be used in case an error happens.
src/qemu/qemu_monitor.c
src/qemu/qemu_monitor.h