]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Revert "qemu: monitor: do not report error on shutdown"
authorMichal Privoznik <mprivozn@redhat.com>
Fri, 19 Jan 2018 12:53:57 +0000 (13:53 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Fri, 19 Jan 2018 13:31:03 +0000 (14:31 +0100)
commit72adaf2f10509c3682f2c65ffad4176e00e5a2fb
tree445c6e44130557cc91af94e6351ec63a8315b02b
parent0b54c37d507bf20509d0f78ce9fcc2b1970ee408
Revert "qemu: monitor: do not report error on shutdown"

https://bugzilla.redhat.com/show_bug.cgi?id=1536461

This reverts commit aeda1b8c56dc58b0a413acc61bbea938b40499e1.

Problem is that we need mon->lastError to be set because it's
used all over the place. Also, there's nothing wrong with
reporting error if one occurred. I mean, if there's a thread
executing an API and which currently is talking on monitor it
definitely wants the error reported.

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