[Libguestfs] [PATCH 2/4] Shared function to send progress messages.