[libvirt] [PATCH 06/10] Add a generic internal API for handling any FD based stream