From owner-freebsd-virtualization@freebsd.org Thu Feb 23 10:14:18 2017 Return-Path: Delivered-To: freebsd-virtualization@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 BCB9FCE8DC1 for ; Thu, 23 Feb 2017 10:14:18 +0000 (UTC) (envelope-from hausen@punkt.de) Received: from kagate.punkt.de (kagate.punkt.de [217.29.33.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3CE3983A for ; Thu, 23 Feb 2017 10:14:17 +0000 (UTC) (envelope-from hausen@punkt.de) Received: from hugo10.ka.punkt.de (hugo10.ka.punkt.de [217.29.44.10]) by gate2.intern.punkt.de with ESMTP id v1N9o8wU090258 for ; Thu, 23 Feb 2017 10:50:08 +0100 (CET) Received: from [217.29.44.182] ([217.29.44.182]) by hugo10.ka.punkt.de (8.14.2/8.14.2) with ESMTP id v1N9o7IR081636 for ; Thu, 23 Feb 2017 10:50:07 +0100 (CET) (envelope-from hausen@punkt.de) From: "Patrick M. Hausen" Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: virtio_console in bhyve? (FreeBSD host and guest) Message-Id: <9443C23A-5364-438A-8740-72FCE386D8BA@punkt.de> Date: Thu, 23 Feb 2017 10:50:07 +0100 To: freebsd-virtualization@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) X-Mailer: Apple Mail (2.3124) X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Feb 2017 10:14:18 -0000 Hi, all, I'm trying to get guest-additions to work for FreeBSD guests in FreeNAS = 10. FreeNAS 10 is built on top of RELENG_11 and uses the bhyve hypervisor. Each VM is started with one virtio_console device like this: bhyve [...] -s = '30,virtio-console,org.freenas.vm-tools=3D/var/run/containerd/dfdbb716-789= f-44c3-9653-2157bdb3e76e.vmtools.sock' Yet, inside the VM guest (I tried RELENG_10_3 and RELENG_11_0): root@icescrum:~ # kldload virtio_console = =20 vtcon0: on virtio_pci1 = =20 vtcon0: vtcon_ctrl_process_event: invalid port ID 779313518 = =20 vtcon0: vtcon_ctrl_port_open_event: open port 0, but does not exist Unfortunately the byhve(8) manpage does not mention virtio_console at all and I did not find anything detailled in the wiki or with = Internet search. So I simply don't know if this is a bug in the way FreeNAS uses/starts byhve or if there is a deeper problem with the implementation in = FreeBSD. Any hints greatly appreciated, Patrick --=20 punkt.de GmbH * Kaiserallee 13a * 76133 Karlsruhe Tel. 0721 9109 0 * Fax 0721 9109 100 info@punkt.de http://www.punkt.de Gf: J=C3=BCrgen Egeling AG Mannheim 108285 Wir schaffen L=C3=B6sungen f=C3=BCr Ihre digitale Herausforderung. Am 23.02.2017 sind wir auf der IT & Media in Frankfurt vertreten. Wir freuen uns auf Ihren Besuch am Stand B7