]> xenbits.xensource.com Git - libvirt.git/commit
qemu: monitor: Produce better errors on monitor hangup
authorPeter Krempa <pkrempa@redhat.com>
Wed, 18 Sep 2013 14:17:39 +0000 (16:17 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 25 Sep 2013 11:50:56 +0000 (13:50 +0200)
commit90139a6236eb20a5cd2595af39ea11adae7d54de
treedff27c5c6b0248b757cbed9c08c4ef1f704b30bd
parent8519e9ecdcc26f9753dbd85e897daabbaa82dee8
qemu: monitor: Produce better errors on monitor hangup

Change the monitor error code to add the ability to access the qemu log
file using a file descriptor so that we can dig in it for a more useful
error message. The error is now logged on monitor hangups and overwrites
a possible lesser error. A hangup on the monitor usualy means that qemu
has crashed and there's a significant chance it produced a useful error
message.

The functionality will be latent until the next patch.
src/qemu/qemu_monitor.c