Page MenuHomeFreeBSD

Add support for named virtio console ports
ClosedPublic

Authored by jceel on Jul 11 2016, 12:09 PM.
Tags
None
Referenced Files
F106044860: D7182.diff
Tue, Dec 24, 10:14 AM
Unknown Object (File)
Fri, Dec 20, 2:24 PM
Unknown Object (File)
Mon, Dec 9, 2:07 AM
Unknown Object (File)
Mon, Dec 2, 11:33 AM
Unknown Object (File)
Mon, Dec 2, 11:33 AM
Unknown Object (File)
Mon, Dec 2, 11:32 AM
Unknown Object (File)
Mon, Dec 2, 11:32 AM
Unknown Object (File)
Mon, Dec 2, 11:08 AM
Subscribers

Details

Summary

Following change adds support for named ports in the virtio_console(4) driver. It does that by creating tty aliases in format /dev/vtcon/<portname> upon receiving PORT_NAME event (id = 7) over the control queue. The aliases point to already existing /dev/ttyVx.y tty device nodes.

Test Plan

Code can be tested using qemu-kvm in linux: https://fedoraproject.org/wiki/Features/VirtioSerial

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 5177
Build 5299: CI src buildJenkins

Event Timeline

jceel retitled this revision from to Add support for named virtio console ports.
jceel updated this object.
jceel edited the test plan for this revision. (Show Details)
jceel added reviewers: bryanv, grehan, trasz.
jceel set the repository for this revision to rS FreeBSD src repository - subversion.

Port names are not null-terminated - putting '\0' at the last byte was wrong.

This revision was automatically updated to reflect the committed changes.