virt-top: fix to explicitly disconnect from libvirtd
authorYuya Higashi <higashi.yuya@fujitsu.com>
Tue, 15 Nov 2022 04:56:21 +0000 (13:56 +0900)
committerRichard W.M. Jones <rjones@redhat.com>
Wed, 23 Nov 2022 14:10:48 +0000 (14:10 +0000)
commit4b15ee2440b0e70e3c1eb5e164ded493e2d8f0c8
tree164257131c50d47b8db54cc1c489da1c6b247e14
parent6a45c04e27b942555e79f96f52e452e56d1aca97
virt-top: fix to explicitly disconnect from libvirtd

To prevent libvirtd from printing virNetSocketReadWire I/O errors when
the virt-top command exits, explicitly disconnect from libvirtd.

Signed-off-by: Yuya Higashi <higashi.yuya@fujitsu.com>
src/top.ml