1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-16 10:20:30 +00:00
freebsd/usr.sbin/bhyve
Neel Natu ccfe4c3f74 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
2015-07-06 19:33:29 +00:00
..
acpi.c Implement the century byte in the RTC. Some guests require this field to be 2015-04-28 23:44:47 +00:00
acpi.h
ahci.h Polish AHCI disk identify data and fix speed negotiation. 2015-03-13 20:14:35 +00:00
atkbdc.c
bhyve.8 Restructure memory allocation in bhyve to support "devmem". 2015-06-18 06:00:17 +00:00
bhyverun.c Restructure memory allocation in bhyve to support "devmem". 2015-06-18 06:00:17 +00:00
bhyverun.h Simplify instruction restart logic in bhyve. 2015-01-18 03:08:30 +00:00
block_if.c Allow configuration of the sector size advertised to the guest. 2015-05-12 00:30:39 +00:00
block_if.h Temporarily revert r282922 which bumped the max descriptors. 2015-05-21 04:19:22 +00:00
bootrom.c Restructure memory allocation in bhyve to support "devmem". 2015-06-18 06:00:17 +00:00
bootrom.h Restructure memory allocation in bhyve to support "devmem". 2015-06-18 06:00:17 +00:00
consport.c
dbgport.c add SO_REUSEADDR when starting debug port, lets you still bind when 2015-06-20 07:49:08 +00:00
dbgport.h
inout.c Deprecate the 3-way return values from vm_gla2gpa() and vm_copy_setup(). 2015-05-06 16:25:20 +00:00
inout.h
ioapic.c Reassign copyright statements on several files from Advanced 2015-04-23 14:22:20 +00:00
ioapic.h Reassign copyright statements on several files from Advanced 2015-04-23 14:22:20 +00:00
Makefile Restructure memory allocation in bhyve to support "devmem". 2015-06-18 06:00:17 +00:00
Makefile.depend Updated depends 2015-07-03 06:11:54 +00:00
mem.c
mem.h
mevent_test.c
mevent.c
mevent.h
mptbl.c
mptbl.h
pci_ahci.c Allow byte reads of AHCI registers. 2015-05-07 18:35:15 +00:00
pci_emul.c Advertise an additional memory BAR in the "dummy" device emulation. 2015-05-02 03:25:24 +00:00
pci_emul.h
pci_hostbridge.c The 'hostbridge' device exists to allow guests to infer msi/msix 2015-05-21 20:11:52 +00:00
pci_irq.c Reassign copyright statements on several files from Advanced 2015-04-23 14:22:20 +00:00
pci_irq.h Reassign copyright statements on several files from Advanced 2015-04-23 14:22:20 +00:00
pci_lpc.c Restructure memory allocation in bhyve to support "devmem". 2015-06-18 06:00:17 +00:00
pci_lpc.h Restructure memory allocation in bhyve to support "devmem". 2015-06-18 06:00:17 +00:00
pci_passthru.c Restructure memory allocation in bhyve to support "devmem". 2015-06-18 06:00:17 +00:00
pci_uart.c
pci_virtio_block.c Set the subvendor field in config space to the vendor ID. 2015-05-13 17:38:07 +00:00
pci_virtio_net.c Set the subvendor field in config space to the vendor ID. 2015-05-13 17:38:07 +00:00
pci_virtio_rnd.c Set the subvendor field in config space to the vendor ID. 2015-05-13 17:38:07 +00:00
pm.c Reassign copyright statements on several files from Advanced 2015-04-23 14:22:20 +00:00
post.c
rtc.c Add "-u" option to bhyve(8) to indicate that the RTC should maintain UTC time. 2015-02-24 02:04:16 +00:00
rtc.h Add "-u" option to bhyve(8) to indicate that the RTC should maintain UTC time. 2015-02-24 02:04:16 +00:00
smbiostbl.c Correct display of bhyve SMBIOS UUIDs with dmidecode by bumping the version. 2014-09-23 01:17:22 +00:00
smbiostbl.h
spinup_ap.c
spinup_ap.h
task_switch.c Deprecate the 3-way return values from vm_gla2gpa() and vm_copy_setup(). 2015-05-06 16:25:20 +00:00
uart_emul.c Always assert DCD and DSR in bhyve's uart emulation. 2015-07-06 19:33:29 +00:00
uart_emul.h
virtio.c Handling indirect descriptors is a capability of the host and 2015-05-11 21:24:10 +00:00
virtio.h Fix networking problem after r280026. 2015-03-15 16:09:39 +00:00
xmsr.c Emulate MSR 0xC0011024 when running on AMD processors. 2015-02-24 05:15:40 +00:00
xmsr.h Restructure the MSR handling so it is entirely handled by processor-specific 2014-09-20 02:35:21 +00:00