diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2008-02-20 18:00:28 +0000 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2008-02-20 18:00:28 +0000 |
commit | 7b1566db123d73e675c50d6f5ca5fe956bcf6412 (patch) | |
tree | 62f052aff108f5c5dd924aa404aa8445ed55eea9 /tools/ioemu/hw/mc146818rtc.c | |
parent | 7ffbeb40de73d3facdadfc27b96b3795970a2069 (diff) | |
download | xen-7b1566db123d73e675c50d6f5ca5fe956bcf6412.tar.gz xen-7b1566db123d73e675c50d6f5ca5fe956bcf6412.tar.bz2 xen-7b1566db123d73e675c50d6f5ca5fe956bcf6412.zip |
xenconsoled: don't force newline with timestamps
Previously a newline was forced after every call to
write_with_timestamp. This could result in some ugly logs when a
single console line stretched over multiple calls. This change carries
some extra state to determine if we ended the last call to
write_with_timestamp on a newline, and prints the timestamp as
appropriate.
This also fixes a bug where logging hv messages was dependent on the
guest timestamp flag.
Signed-off-by: Cole Robinson <crobinso@redhat.com>
Diffstat (limited to 'tools/ioemu/hw/mc146818rtc.c')
0 files changed, 0 insertions, 0 deletions