HomeFreeBSD

MFC r356523

Description

MFC r356523

bhyve: add wrapper for debug printf statements

Add printf() wrapper to use CR/CRLF terminators depending on whether
stdio is mapped to a tty open in raw mode.
Try to use the wrapper everywhere.
For now we leave the custom DPRINTF/WPRINTF defined by device
models, but we may remove them in the future.

Reviewed by: grehan, jhb
Differential Revision: https://reviews.freebsd.org/D22657

Details

Provenance
vmaffioneAuthored on
Reviewer
grehan
Differential Revision
D22657: bhyve: add wrapper for debug printf statements
Parents
rS358183: dtc: remove unknown option printf, since getopt will print it
Branches
Unknown
Tags
Unknown