[libvirt] [PATCH 4/6] Fix a counter bug in the log buffer