NetBSD/etc/etc.amd64
riastradh cc725e3507 viocon(4): New virtio tty driver imported from OpenBSD.
viocon* at virtio?

/dev/ttyVI??

Tested under qemu with:

qemu-system-aarch64 ... \
  -device virtio-serial \
  -chardev socket,path=/tmp/ttyVI00,server=on,wait=off,id=ttyVI00 \
  -device virtconsole,chardev=ttyVI00,name=org.NetBSD.dev.ttyVI00 \
  ...

I updated MAKEDEV.conf to create /dev/ttyVI?? on all ports where it
looks likely to work based on:
(a) having pci or a non-pci virtio attachment,
(b) `qemu-system-$ARCH -M ?' mentioned something resembling the port,
    and
(c) `qemu-system-$ARCH -device virtio-serial' launched without
    complaining about the virtio-serial device.

(Criterion (c) excluded sparc and sparc64.)
2022-08-12 11:15:40 +00:00
..
MAKEDEV.conf viocon(4): New virtio tty driver imported from OpenBSD. 2022-08-12 11:15:40 +00:00
Makefile.inc Distribute GENERIC_KASLR on amd64. 2018-08-02 16:26:09 +00:00
boot.cfg Undo loading pciverbose module by default. 2019-12-05 22:02:29 +00:00
rc.conf.append
ttyaction
ttys Switch default console tty from /dev/console to /dev/constty 2019-09-25 23:09:19 +00:00