diff options
author | Olaf Hering <olaf@aepfle.de> | 2013-02-15 13:32:11 +0000 |
---|---|---|
committer | Olaf Hering <olaf@aepfle.de> | 2013-02-15 13:32:11 +0000 |
commit | cee66355322f5255b30acd79429c6ed8e63af694 (patch) | |
tree | 3a6eed7f5c86c2d27165979230864738ff88e48c /tools/libxc/xc_domain_restore.c | |
parent | 66de7c75fdf23039bc773dfe49b4cb5c310627cb (diff) | |
download | xen-cee66355322f5255b30acd79429c6ed8e63af694.tar.gz xen-cee66355322f5255b30acd79429c6ed8e63af694.tar.bz2 xen-cee66355322f5255b30acd79429c6ed8e63af694.zip |
tools/xc: handle tty output differently in stdiostream_progress
If the output goes to a tty, rewind the cursor and print everything in a
single line as it was done up to now. If the output goes to a file or
pipe print a newline after each progress output. This will fix logging
of progress messages from xc_save to xend.log.
To support XTL_STDIOSTREAM_SHOW_PID or XTL_STDIOSTREAM_SHOW_DATE print
the output via vmessage if the output is not a tty.
Signed-off-by: Olaf Hering <olaf@aepfle.de>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
Committed-by: Ian Campbell <ian.campbell@citrix.com>
Diffstat (limited to 'tools/libxc/xc_domain_restore.c')
0 files changed, 0 insertions, 0 deletions