]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: agent: Avoid agentError when closing the QEMU agent
authorWang Yechao <wang.yechao255@zte.com.cn>
Fri, 12 Oct 2018 02:19:28 +0000 (10:19 +0800)
committerJohn Ferlan <jferlan@redhat.com>
Thu, 15 Nov 2018 18:51:02 +0000 (13:51 -0500)
commitbba16ff111aa24e4efb1074d45d212265ce7693e
tree7cdffef9b49279ac9eb2588ec66a66cc4b852203
parenta5dc60012c311b1f11f09cc5c5f394e20eb0917e
qemu: agent: Avoid agentError when closing the QEMU agent

The commit 89563efc0209b854d2b2e554423423d7602acdbd fix the
monitor error when closing the QEMU monitor. The QEMU agent
has a problem similar to QEMU monitor. So fix the QEMU agent
with the same method.

Signed-off-by: Wang Yechao <wang.yechao255@zte.com.cn>
Reviewed-by: John Ferlan <jferlan@redhat.com>
src/qemu/qemu_agent.c