[libvirt] [RFC PATCH 1/5] virhostdev: factor release out from reattach and export it for use later