ccfe4c3f74
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 |
||
---|---|---|
.. | ||
acpi.c | ||
acpi.h | ||
ahci.h | ||
atkbdc.c | ||
bhyve.8 | ||
bhyverun.c | ||
bhyverun.h | ||
block_if.c | ||
block_if.h | ||
bootrom.c | ||
bootrom.h | ||
consport.c | ||
dbgport.c | ||
dbgport.h | ||
inout.c | ||
inout.h | ||
ioapic.c | ||
ioapic.h | ||
Makefile | ||
Makefile.depend | ||
mem.c | ||
mem.h | ||
mevent_test.c | ||
mevent.c | ||
mevent.h | ||
mptbl.c | ||
mptbl.h | ||
pci_ahci.c | ||
pci_emul.c | ||
pci_emul.h | ||
pci_hostbridge.c | ||
pci_irq.c | ||
pci_irq.h | ||
pci_lpc.c | ||
pci_lpc.h | ||
pci_passthru.c | ||
pci_uart.c | ||
pci_virtio_block.c | ||
pci_virtio_net.c | ||
pci_virtio_rnd.c | ||
pm.c | ||
post.c | ||
rtc.c | ||
rtc.h | ||
smbiostbl.c | ||
smbiostbl.h | ||
spinup_ap.c | ||
spinup_ap.h | ||
task_switch.c | ||
uart_emul.c | ||
uart_emul.h | ||
virtio.c | ||
virtio.h | ||
xmsr.c | ||
xmsr.h |