From owner-svn-src-head@freebsd.org Thu Nov 24 12:40:35 2016 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 11D02C50E6D; Thu, 24 Nov 2016 12:40:35 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citapm.icyb.net.ua (citapm.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id B7FBB14D; Thu, 24 Nov 2016 12:40:24 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from porto.starpoint.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citapm.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id OAA10444; Thu, 24 Nov 2016 14:40:16 +0200 (EET) (envelope-from avg@FreeBSD.org) Received: from localhost ([127.0.0.1]) by porto.starpoint.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1c9tK3-000PxH-U2; Thu, 24 Nov 2016 14:40:15 +0200 Subject: Re: svn commit: r305898 - head/usr.sbin/bhyve To: Jakub Wojciech Klama , src-committers@FreeBSD.org, svn-src-all@FreeBSD.org, svn-src-head@FreeBSD.org References: <201609171348.u8HDm1Yn093022@repo.freebsd.org> From: Andriy Gapon Message-ID: <32cdc6d3-cec6-8d66-e549-b1463a43f136@FreeBSD.org> Date: Thu, 24 Nov 2016 14:38:53 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.5.0 MIME-Version: 1.0 In-Reply-To: <201609171348.u8HDm1Yn093022@repo.freebsd.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Nov 2016 12:40:35 -0000 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 ,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