diff options
author | neel <neel@FreeBSD.org> | 2015-07-06 19:33:29 +0000 |
---|---|---|
committer | neel <neel@FreeBSD.org> | 2015-07-06 19:33:29 +0000 |
commit | 0a74489e333d800a5083c31a38dd5529359c31dc (patch) | |
tree | 26984e224ef95e30b77d170a01c1c0d513b1a2f0 /lib/libvmmapi | |
parent | abd8f81b9252eb125122ca26944c20b3567f3460 (diff) | |
download | FreeBSD-src-0a74489e333d800a5083c31a38dd5529359c31dc.zip FreeBSD-src-0a74489e333d800a5083c31a38dd5529359c31dc.tar.gz |
Always assert DCD and DSR in bhyve's uart emulation.
The /etc/ttys entry for a serial console in FreeBSD/x86 is as follows:
ttyu0 "/usr/libexec/getty 3wire" vt100 onifconsole secure
The initial terminal type passed to getty(8) is "3wire" which sets the
CLOCAL flag. However reset(1) clears this flag and any programs that try
to open the terminal will hang waiting for DCD to be asserted.
Fix this by always asserting DCD and DSR in the emulated uart.
The following discussion on virtualization@ has more details:
https://lists.freebsd.org/pipermail/freebsd-virtualization/2015-June/003666.html
Reported by: jmg
Discussed with: grehan
Diffstat (limited to 'lib/libvmmapi')
0 files changed, 0 insertions, 0 deletions