[libvirt] [PATCH 1/5] Add public API to register a callback to be invoked on connection close