]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Print better warning in qemuAgentNotifyEvent
authorYaniv Kaul <ykaul@redhat.com>
Fri, 15 Jan 2016 07:33:49 +0000 (08:33 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Fri, 15 Jan 2016 07:33:49 +0000 (08:33 +0100)
commitc1e0df918b2307b64b7c165bcf62119e628a9048
tree3bffca5b599b5d67c00219731d86547f06c7dc71
parentd6d7e2885badc24e224265283fd59f4c1c492ff9
qemu: Print better warning in qemuAgentNotifyEvent

We have this function qemuAgentNotifyEvent() which is supposed to
be called from thread pool responsible for processing qemu
monitor events. The function then should wake up other thread
that is waiting for a guest to shutdown or reboot. However, if we
have received a different error a warning is printed out. This
warning lacks info on which event is expected.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
src/qemu/qemu_agent.c