svn commit: r305898 - head/usr.sbin/bhyve

Andriy Gapon avg at FreeBSD.org
Thu Nov 24 12:40:35 UTC 2016


On 17/09/2016 16:48, Jakub Wojciech Klama wrote:
> Author: jceel
> Date: Sat Sep 17 13:48:01 2016
> New Revision: 305898
> URL: https://svnweb.freebsd.org/changeset/base/305898
> 
> Log:
>   Add virtio-console support to bhyve.

Please update bhyve.8 with this device and its options.
An example would be great.
Thank you!

>   Adds virtio-console device support to bhyve, allowing to create
>   bidirectional character streams between host and guest.
>   
>   Syntax:
>   -s <slotnum>,virtio-console,port1=/path/to/port1.sock,anotherport=...
>   
>   Maximum of 16 ports per device can be created. Every port is named
>   and corresponds to an Unix domain socket created by bhyve. bhyve
>   accepts at most one connection per port at a time.
>   
>   Limitations:
>   - due to lack of destructors of in bhyve, sockets on the filesystem
>     must be cleaned up manually after bhyve exits
>   - there's no way to use "console port" feature, nor the console port
>     resize as of now
>   - emergency write is advertised, but no-op as of now
>   
>   Approved by:	trasz
>   MFC after:	1 month
>   Relnotes:	yes
>   Sponsored by:	iXsystems, Inc.
>   Differential Revision:	D7185
> 
> Added:
>   head/usr.sbin/bhyve/pci_virtio_console.c   (contents, props changed)
> Modified:
>   head/usr.sbin/bhyve/Makefile
>   head/usr.sbin/bhyve/virtio.h


-- 
Andriy Gapon


More information about the svn-src-all mailing list