[libvirt] [PATCH] Tweak EOF handling of streams