[PATCH] virsh: make virshPrintJobProgress tty-aware