[libvirt] [PATCH v2 02/12] Implement common keepalive handling