From owner-freebsd-virtualization@freebsd.org Sun May 22 00:30:58 2016 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 12007B45BE7 for ; Sun, 22 May 2016 00:30:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (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 02B2310C3 for ; Sun, 22 May 2016 00:30:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u4M0UutR079189 for ; Sun, 22 May 2016 00:30:57 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-virtualization@FreeBSD.org Subject: [Bug 209392] Panic on FreeBSD guest on bhyve Date: Sun, 22 May 2016 00:30:57 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: 10.3-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: grehan@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.22 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: Sun, 22 May 2016 00:30:58 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D209392 Peter Grehan changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |grehan@FreeBSD.org --- Comment #3 from Peter Grehan --- Thanks for the report. The panic was "spin lock held too long" which usually indicates that one of= the vCPUs wasn't able to run for some amount of time. Other than the 'portsnap extract' in the guest, was there much happening on= the host system at the same time ? i.e. lots of other processes running, high memory utilization etc ? (A simple interim workaround is to use a single-vCPU guest). --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Sun May 22 21:00:17 2016 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 A8E5DB459D6 for ; Sun, 22 May 2016 21:00:17 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (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 875451AAA for ; Sun, 22 May 2016 21:00:17 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u4ML01F2049096 for ; Sun, 22 May 2016 21:00:17 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Message-Id: <201605222100.u4ML01F2049096@kenobi.freebsd.org> From: bugzilla-noreply@FreeBSD.org To: freebsd-virtualization@FreeBSD.org Subject: Problem reports for freebsd-virtualization@FreeBSD.org that need special attention Date: Sun, 22 May 2016 21:00:17 +0000 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.22 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: Sun, 22 May 2016 21:00:17 -0000 To view an individual PR, use: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=(Bug Id). The following is a listing of current problems submitted by FreeBSD users, which need special attention. These represent problem reports covering all versions including experimental development code and obsolete releases. Status | Bug Id | Description ------------+-----------+--------------------------------------------------- In Progress | 202321 | [bhyve,patch] More verbose error reporting in bhy 1 problems total for which you should take action. From owner-freebsd-virtualization@freebsd.org Thu May 26 17:30:32 2016 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 6E12DB4A9E0 for ; Thu, 26 May 2016 17:30:32 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: from reviews.nyi.freebsd.org (reviews.nyi.freebsd.org [IPv6:2610:1c1:1:607c::16:b]) by mx1.freebsd.org (Postfix) with ESMTP id 39CC31478 for ; Thu, 26 May 2016 17:30:32 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: by reviews.nyi.freebsd.org (Postfix, from userid 1346) id A53E89AD2; Thu, 26 May 2016 17:30:31 +0000 (UTC) Date: Thu, 26 May 2016 17:30:31 +0000 To: freebsd-virtualization@freebsd.org From: "bz (Bjoern A. Zeeb)" Reply-to: D1944+333+b09c6235d993877b@reviews.freebsd.org Subject: [Differential] D1944: PF and VIMAGE fixes Message-ID: <9325c6e765820c02c0901ae692bfa22a@localhost.localdomain> X-Priority: 3 X-Phabricator-Sent-This-Message: Yes X-Mail-Transport-Agent: MetaMTA X-Auto-Response-Suppress: All X-Phabricator-Mail-Tags: , Thread-Topic: D1944: PF and VIMAGE fixes X-Herald-Rules: none X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: Precedence: bulk In-Reply-To: References: Thread-Index: NDc2NzM0MzY4OTdiYThiNTU1MjY2ZDZmMTJiIFdHMrc= MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.22 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.22 List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 May 2016 17:30:32 -0000 From owner-freebsd-virtualization@freebsd.org Fri May 27 08:33:50 2016 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 C6800B49556 for ; Fri, 27 May 2016 08:33:50 +0000 (UTC) (envelope-from grehan@freebsd.org) Received: from alto.onthenet.com.au (alto.OntheNet.com.au [203.13.68.12]) by mx1.freebsd.org (Postfix) with ESMTP id 5AA0D1DBE for ; Fri, 27 May 2016 08:33:49 +0000 (UTC) (envelope-from grehan@freebsd.org) Received: from iredmail.onthenet.com.au (iredmail.onthenet.com.au [203.13.68.150]) by alto.onthenet.com.au (Postfix) with ESMTPS id A071420B4A16 for ; Fri, 27 May 2016 18:33:44 +1000 (AEST) Received: from localhost (iredmail.onthenet.com.au [127.0.0.1]) by iredmail.onthenet.com.au (Postfix) with ESMTP id 9B7F4280F62 for ; Fri, 27 May 2016 18:33:44 +1000 (AEST) X-Amavis-Modified: Mail body modified (using disclaimer) - iredmail.onthenet.com.au Received: from iredmail.onthenet.com.au ([127.0.0.1]) by localhost (iredmail.onthenet.com.au [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id ed4YXOr5rOgO for ; Fri, 27 May 2016 18:33:44 +1000 (AEST) Received: from Peters-MacBook-Pro-2.local (c-67-180-92-13.hsd1.ca.comcast.net [67.180.92.13]) by iredmail.onthenet.com.au (Postfix) with ESMTPSA id 26FD02809F7 for ; Fri, 27 May 2016 18:33:42 +1000 (AEST) From: Peter Grehan Subject: bhyve graphics support To: "freebsd-virtualization@freebsd.org" Message-ID: <442c6d8f-2b64-c88b-382a-cf73eb6f7404@freebsd.org> Date: Fri, 27 May 2016 01:33:42 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:45.0) Gecko/20100101 Thunderbird/45.1.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-CMAE-Score: 0 X-CMAE-Analysis: v=2.2 cv=LvDQ8TVc c=1 sm=1 tr=0 a=A6CF0fG5TOl4vs6YHvqXgw==:117 a=5eVCmCvhg37cu/pjidAGzw==:17 a=IkcTkHD0fZMA:10 a=yrkiwgmsf1kA:10 a=6I5d2MoRAAAA:8 a=NEAV23lmAAAA:8 a=DaYa-wuehj-2TE99uUMA:9 a=IjZwj45LgO3ly-622nXo:22 a=Bn2pgwyD2vrAyMmN8A2t:22 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.22 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: Fri, 27 May 2016 08:33:50 -0000 As of r300829, support for graphic output has been checked into the projects/bhyve_graphics branch. This is just the usr.sbin/bhyve executable, so is quick and easy to build from source. Assuming a reasonably current source tree is in /usr/src, svn co http://svn.freebsd.org/base/projects/bhyve_graphics path/to/dir cd path/to/dir make BHYVE_SYSDIR=/usr/src -m /usr/src/share/mk UEFI GOP support has been checked into the freebsd/edk2 repo: https://github.com/freebsd/uefi-edk2/commit/a36132939e259df79b16699c03c6f1d63c7454b9 A pre-built bhyve/UEFI binary image with GOP support is available at: https://people.freebsd.org/~grehan/bhyve_uefi/BHYVE_UEFI_20160526.fd The new bhyve executable supports some new devices. An example of using them for Windows10 is: bhyve \ -c 2 \ -s 3,ahci-cd,/images/win10_install.iso \ -s 4,ahci-hd,/images/win10.img \ -s 11,fbuf,tcp=0.0.0.0:5900,w=1600,h=900,wait \ -s 20,xhci,tablet \ -s 31,lpc \ -l bootrom,/images/BHYVE_UEFI_20160526.fd \ -m 2G -H -w \ windows The framebuffer device, "fbuf", takes parameters describing the VNC server options. The optional "wait" parameter will hold execution of the guest until a VNC client is connected. The height and width of the frame buffer can be specified, with the constraints that the maximum is 1920x1200. Arbitrary resolutions are not yet supported by UEFI. That will be fixed, but in the meantime, available resolutions are: 1920 x 1200 1920 x 1080 1600 x 1200 1600 x 900 1280 x 1024 1280 x 720 1024 x 768 800 x 600 640 x 480 Specifying an unsupported resolution will result in UEFI falling back to 800x600. The XHCI emulation currently only has a tablet back end. This connects to pointer input from VNC. If not present, pointer input defaults to the ps2 mouse emulation. Note the latter only suppports relative coordinates which don't track the cursor very well in VNC. Keyboard input currently defaults to the PS2 keyboard. The code has been tested with Windows 7/8/8.1/10 and Server 2k12/2k16, Ubuntu 15.10, and FreeBSD 10.3/11-CURRENT. Note that older versions of Windows, and FreeBSD, don't like the XHCI tablet - the default ps2 mouse should be used with those. For VNC clients, TightVNC, TigherVNC, and RealVNC (aka VNC Viewer) have been tested on various hosts. The OSX VNC client is known not to work. Give it a try and let us know how it goes ! Many thanks to Michael Dexter for helping out with the testing of this. later, Peter. From owner-freebsd-virtualization@freebsd.org Fri May 27 08:36:51 2016 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 ED54AB4965B for ; Fri, 27 May 2016 08:36:51 +0000 (UTC) (envelope-from kmacybsd@gmail.com) Received: from mail-ig0-x235.google.com (mail-ig0-x235.google.com [IPv6:2607:f8b0:4001:c05::235]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B48C51E58; Fri, 27 May 2016 08:36:51 +0000 (UTC) (envelope-from kmacybsd@gmail.com) Received: by mail-ig0-x235.google.com with SMTP id l10so61624848igk.0; Fri, 27 May 2016 01:36:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc; bh=Uzrq0kckVwI3KwMeOT1JbLjRWc7HRDUS8pnssPDzEWM=; b=C2kKa4Ln7wrWPP6vtaNQ0C85yuoj5fa3Kc/G63N3511RutyVdRnQfDDJtkAIqCEx/t uB7ETBe8H4UH0nvsk2o4yWg8AD1r9RrF9kKE6kNx4R35IHDbPD4NkqPur0OZ9vAgQ6/E md0s4AWcrIzb8kjsJ9VtyxpZaKjwq+Kl7RVrO3XPyCjltBDKi8vCU4pOnbYp5tkt0kfj vIwxjOMcVh8ltYCd6oX9nntFQ8BWPvhJbWGMIuYNFIf9SM+Vb5/w4u8p/ZwXZaz6YDur eMScKuSOL0+KMA7Mk3D/Iudu/CNdOtYZvD5aYEP8CpnemZ+/YIdwYWNfhkVHk/RWIdJr ApJw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:date :message-id:subject:from:to:cc; bh=Uzrq0kckVwI3KwMeOT1JbLjRWc7HRDUS8pnssPDzEWM=; b=YjocxHGV8dToz6gdiK8yQ+uVUPLo+SxE4Enc+LHgHUWuFTA78w2m/HiQRClYgxwAj0 rKfZ9NjYx4Il40Wn5g3CSijkiSo1sM9Z/mJPZv/LaUHeJlKbJrH6WVQ6d4MiPROglot7 npGGkUdwBbGFhbwPOEcUEd0gHE/z7aVyz1FIcBgMwSQKSzTvu7X7q+jZSKMRlTDkW7hC NG32Wrta/H99kuN0WBQgdxrRu4bnMpDSL4ckuObPPNlM0CCKih7gt15stq/28M5Wp7AK M6zQ+7v8icjMyiALcII3FDerMOCJeNFeFzdUjIYWwDKzksBTP2QB+Kt7nJil84ylJ4wb A2yQ== X-Gm-Message-State: ALyK8tJ5t/dNzCSvVo2ifj+Yed9ly+7vWlMVQUDk2E+hR78FrsmWynypTjSaGAbdZONpc+apgrT9WqQxeuaEOA== MIME-Version: 1.0 X-Received: by 10.50.160.35 with SMTP id xh3mr7266700igb.95.1464338211124; Fri, 27 May 2016 01:36:51 -0700 (PDT) Sender: kmacybsd@gmail.com Received: by 10.107.132.212 with HTTP; Fri, 27 May 2016 01:36:51 -0700 (PDT) In-Reply-To: <442c6d8f-2b64-c88b-382a-cf73eb6f7404@freebsd.org> References: <442c6d8f-2b64-c88b-382a-cf73eb6f7404@freebsd.org> Date: Fri, 27 May 2016 01:36:51 -0700 X-Google-Sender-Auth: LbOk_Ftzwc7p107VBkCtkYVpe84 Message-ID: Subject: Re: bhyve graphics support From: "K. Macy" To: Peter Grehan Cc: "freebsd-virtualization@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.22 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.22 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: Fri, 27 May 2016 08:36:52 -0000 Cool stuff. FYI new i915 driver has vgpu support, incliuding 3D. On Friday, May 27, 2016, Peter Grehan wrote: > As of r300829, support for graphic output has been checked into the > projects/bhyve_graphics branch. This is just the usr.sbin/bhyve executable, > so is quick and easy to build from source. > > Assuming a reasonably current source tree is in /usr/src, > svn co http://svn.freebsd.org/base/projects/bhyve_graphics path/to/dir > cd path/to/dir > make BHYVE_SYSDIR=/usr/src -m /usr/src/share/mk > > UEFI GOP support has been checked into the freebsd/edk2 repo: > > > https://github.com/freebsd/uefi-edk2/commit/a36132939e259df79b16699c03c6f1d63c7454b9 > > A pre-built bhyve/UEFI binary image with GOP support is available at: > https://people.freebsd.org/~grehan/bhyve_uefi/BHYVE_UEFI_20160526.fd > > The new bhyve executable supports some new devices. An example of using > them for Windows10 is: > > bhyve \ > -c 2 \ > -s 3,ahci-cd,/images/win10_install.iso \ > -s 4,ahci-hd,/images/win10.img \ > -s 11,fbuf,tcp=0.0.0.0:5900,w=1600,h=900,wait \ > -s 20,xhci,tablet \ > -s 31,lpc \ > -l bootrom,/images/BHYVE_UEFI_20160526.fd \ > -m 2G -H -w \ > windows > > The framebuffer device, "fbuf", takes parameters describing the VNC > server options. The optional "wait" parameter will hold execution of the > guest until a VNC client is connected. The height and width of the frame > buffer can be specified, with the constraints that the maximum is 1920x1200. > > Arbitrary resolutions are not yet supported by UEFI. That will be fixed, > but in the meantime, available resolutions are: > 1920 x 1200 > 1920 x 1080 > 1600 x 1200 > 1600 x 900 > 1280 x 1024 > 1280 x 720 > 1024 x 768 > 800 x 600 > 640 x 480 > Specifying an unsupported resolution will result in UEFI falling back to > 800x600. > > The XHCI emulation currently only has a tablet back end. This connects to > pointer input from VNC. If not present, pointer input defaults to the ps2 > mouse emulation. Note the latter only suppports relative coordinates which > don't track the cursor very well in VNC. > > Keyboard input currently defaults to the PS2 keyboard. > > The code has been tested with Windows 7/8/8.1/10 and Server 2k12/2k16, > Ubuntu 15.10, and FreeBSD 10.3/11-CURRENT. Note that older versions of > Windows, and FreeBSD, don't like the XHCI tablet - the default ps2 mouse > should be used with those. > > For VNC clients, TightVNC, TigherVNC, and RealVNC (aka VNC Viewer) have > been tested on various hosts. The OSX VNC client is known not to work. > > Give it a try and let us know how it goes ! > > Many thanks to Michael Dexter for helping out with the testing of this. > > later, > > Peter. > _______________________________________________ > freebsd-virtualization@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization > To unsubscribe, send any mail to " > freebsd-virtualization-unsubscribe@freebsd.org" > From owner-freebsd-virtualization@freebsd.org Fri May 27 08:41:04 2016 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 8500EB497E0 for ; Fri, 27 May 2016 08:41:04 +0000 (UTC) (envelope-from grehan@freebsd.org) Received: from alto.onthenet.com.au (alto.OntheNet.com.au [203.13.68.12]) by mx1.freebsd.org (Postfix) with ESMTP id 452CE12D0 for ; Fri, 27 May 2016 08:41:04 +0000 (UTC) (envelope-from grehan@freebsd.org) Received: from iredmail.onthenet.com.au (iredmail.onthenet.com.au [203.13.68.150]) by alto.onthenet.com.au (Postfix) with ESMTPS id 998F220B4B6A for ; Fri, 27 May 2016 18:40:59 +1000 (AEST) Received: from localhost (iredmail.onthenet.com.au [127.0.0.1]) by iredmail.onthenet.com.au (Postfix) with ESMTP id 91EE4280F66 for ; Fri, 27 May 2016 18:40:59 +1000 (AEST) X-Amavis-Modified: Mail body modified (using disclaimer) - iredmail.onthenet.com.au Received: from iredmail.onthenet.com.au ([127.0.0.1]) by localhost (iredmail.onthenet.com.au [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id o3ZDW0rXef8M for ; Fri, 27 May 2016 18:40:59 +1000 (AEST) Received: from Peters-MacBook-Pro-2.local (c-67-180-92-13.hsd1.ca.comcast.net [67.180.92.13]) by iredmail.onthenet.com.au (Postfix) with ESMTPSA id E947E280A16; Fri, 27 May 2016 18:40:58 +1000 (AEST) Subject: Re: bhyve graphics support To: "K. Macy" References: <442c6d8f-2b64-c88b-382a-cf73eb6f7404@freebsd.org> Cc: "freebsd-virtualization@freebsd.org" From: Peter Grehan Message-ID: <6d00a92d-3a15-7452-26f2-e3a87d10dab2@freebsd.org> Date: Fri, 27 May 2016 01:40:59 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:45.0) Gecko/20100101 Thunderbird/45.1.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-CMAE-Score: 0 X-CMAE-Analysis: v=2.2 cv=LvDQ8TVc c=1 sm=1 tr=0 a=A6CF0fG5TOl4vs6YHvqXgw==:117 a=5eVCmCvhg37cu/pjidAGzw==:17 a=IkcTkHD0fZMA:10 a=yrkiwgmsf1kA:10 a=NEAV23lmAAAA:8 a=cdu-OQm1bdyC4svVOW4A:9 a=4fFP4D74RX0A:10 a=A_JSTH-x9coA:10 a=VlZU0XKO32wA:10 a=Bn2pgwyD2vrAyMmN8A2t:22 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.22 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: Fri, 27 May 2016 08:41:04 -0000 > Cool stuff. FYI new i915 driver has vgpu support, incliuding 3D. Is that the KVM-GT work ? (https://github.com/01org/KVMGT-kernel) If so, yes, it would be great to support that in bhyve. later, Peter. From owner-freebsd-virtualization@freebsd.org Fri May 27 09:12:44 2016 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 43FF0B4A44E for ; Fri, 27 May 2016 09:12:44 +0000 (UTC) (envelope-from kmacybsd@gmail.com) Received: from mail-io0-x235.google.com (mail-io0-x235.google.com [IPv6:2607:f8b0:4001:c06::235]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0E24D13B5; Fri, 27 May 2016 09:12:44 +0000 (UTC) (envelope-from kmacybsd@gmail.com) Received: by mail-io0-x235.google.com with SMTP id f8so68481712ioe.3; Fri, 27 May 2016 02:12:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc; bh=X4HlTkdwk8BSWbX/EZcRfsfkkYw3pd7XPqYpO+5lOnE=; b=SHJXCjciXaCh3nt8Z7Ij7a09CoiMmeWoP17cscizaZlx/7e77C9pzcPuR1aM6S9dw3 SLSWIcAgBwPupi8F/kfzpSqOql8MFm92hn2fEy/a1mKCoA1wBjieTMeAYkGLD07ZXTYD fAleSp9rnODHvBw9cWTGCXPYn1PtWxXNUP2Y3Nwhlol5MjE7/rp3fyTd50aY03Ibltgh KL2qp8JcJVo4jyheHW4gTaDUlHK6rEc5AsIPc/rum64P2jINuWiUEY0vPoElgUrKG9o3 ibsTx8oA462/hqRF6ACjaIbrM/B4cjvtUfYvYFar+V4/gKKpKq6yrWymE1BgWV1uxTb+ WqUw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:date :message-id:subject:from:to:cc; bh=X4HlTkdwk8BSWbX/EZcRfsfkkYw3pd7XPqYpO+5lOnE=; b=IZkaFE3WE+KXooRzlt6r0APZ/N/D5G5s5Z8Ouy5MoQ8U9kx2I9rQQiVBY+My/8ufj3 9SuAHkuVealKyfc0XxuVXHsAN+frnb4FNt27dEWJDOr//rgA9bVdvUdK/CDFcv4Q8FlE aRGL+rSKd0zJ4I9OqPnvfzvT5rYbeW4ctgVO2Qc94S1CTtyGm/Pg07QEMQ0zUwbAW5Gv H7CV/PlVjxdIX7XW0er1HLyNucL0dtentgCHOgh3/h1Q98TIEGosxIj/kBf857Is2xvL t/SAfJy1Gd/ejvt5DysW4IrmAvLdcr43QNe5jOnmpKPh3RD5cwg0sup1doiapFuKIh3i aXXw== X-Gm-Message-State: ALyK8tJ66WTSmHvTg6idqikQYJaJwjyOtbohp4Cu/+C41u1hzdCXMdO3bjDhKkZXGVr438V/ONk0YgAg1Z9N2g== MIME-Version: 1.0 X-Received: by 10.107.37.16 with SMTP id l16mr11867221iol.138.1464340363499; Fri, 27 May 2016 02:12:43 -0700 (PDT) Sender: kmacybsd@gmail.com Received: by 10.107.132.212 with HTTP; Fri, 27 May 2016 02:12:43 -0700 (PDT) In-Reply-To: <6d00a92d-3a15-7452-26f2-e3a87d10dab2@freebsd.org> References: <442c6d8f-2b64-c88b-382a-cf73eb6f7404@freebsd.org> <6d00a92d-3a15-7452-26f2-e3a87d10dab2@freebsd.org> Date: Fri, 27 May 2016 02:12:43 -0700 X-Google-Sender-Auth: hHvLEoSsIVbzws-6A7Kpe8X91so Message-ID: Subject: Re: bhyve graphics support From: "K. Macy" To: Peter Grehan Cc: "freebsd-virtualization@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.22 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.22 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: Fri, 27 May 2016 09:12:44 -0000 Yes. -M On Friday, May 27, 2016, Peter Grehan wrote: > Cool stuff. FYI new i915 driver has vgpu support, incliuding 3D. >> > > Is that the KVM-GT work ? (https://github.com/01org/KVMGT-kernel) > > If so, yes, it would be great to support that in bhyve. > > later, > > Peter. > From owner-freebsd-virtualization@freebsd.org Fri May 27 10:44:11 2016 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 08DE3B4BEFE for ; Fri, 27 May 2016 10:44:11 +0000 (UTC) (envelope-from lars@e-new.0x20.net) Received: from mail.0x20.net (mail.0x20.net [217.69.76.211]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.0x20.net", Issuer "mail.0x20.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 85A6A1474; Fri, 27 May 2016 10:44:09 +0000 (UTC) (envelope-from lars@e-new.0x20.net) Received: from e-new.0x20.net (mail.0x20.net [IPv6:2001:aa8:fffb:1::3]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.0x20.net (Postfix) with ESMTPS id B1D226E0081; Fri, 27 May 2016 12:44:06 +0200 (CEST) Received: from e-new.0x20.net (localhost [127.0.0.1]) by e-new.0x20.net (8.14.7/8.14.7) with ESMTP id u4RAi66X013880; Fri, 27 May 2016 12:44:06 +0200 (CEST) (envelope-from lars@e-new.0x20.net) Received: (from lars@localhost) by e-new.0x20.net (8.14.7/8.14.7/Submit) id u4RAi6UF012785; Fri, 27 May 2016 12:44:06 +0200 (CEST) (envelope-from lars) Date: Fri, 27 May 2016 12:44:06 +0200 From: Lars Engels To: Peter Grehan Cc: "freebsd-virtualization@freebsd.org" Subject: Re: bhyve graphics support Message-ID: <20160527104405.GA15808@e-new.0x20.net> References: <442c6d8f-2b64-c88b-382a-cf73eb6f7404@freebsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="HSVPcR81XVhxeM7P" Content-Disposition: inline In-Reply-To: <442c6d8f-2b64-c88b-382a-cf73eb6f7404@freebsd.org> X-Editor: VIM - Vi IMproved 7.4 X-Operation-System: FreeBSD 8.4-RELEASE-p23 User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.22 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: Fri, 27 May 2016 10:44:11 -0000 --HSVPcR81XVhxeM7P Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, May 27, 2016 at 01:33:42AM -0700, Peter Grehan wrote: > As of r300829, support for graphic output has been checked into the=20 > projects/bhyve_graphics branch. This is just the usr.sbin/bhyve=20 > executable, so is quick and easy to build from source. >=20 > Assuming a reasonably current source tree is in /usr/src, > svn co http://svn.freebsd.org/base/projects/bhyve_graphics path/to/dir > cd path/to/dir > make BHYVE_SYSDIR=3D/usr/src -m /usr/src/share/mk >=20 > UEFI GOP support has been checked into the freebsd/edk2 repo: > =20 > https://github.com/freebsd/uefi-edk2/commit/a36132939e259df79b16699c03c6f= 1d63c7454b9 >=20 > A pre-built bhyve/UEFI binary image with GOP support is available at: > https://people.freebsd.org/~grehan/bhyve_uefi/BHYVE_UEFI_20160526.fd >=20 > The new bhyve executable supports some new devices. An example of using= =20 > them for Windows10 is: >=20 > bhyve \ > -c 2 \ > -s 3,ahci-cd,/images/win10_install.iso \ > -s 4,ahci-hd,/images/win10.img \ > -s 11,fbuf,tcp=3D0.0.0.0:5900,w=3D1600,h=3D900,wait \ > -s 20,xhci,tablet \ > -s 31,lpc \ > -l bootrom,/images/BHYVE_UEFI_20160526.fd \ > -m 2G -H -w \ > windows Thanks for your work on this! With Ubuntu 16.04 I was not successful so far. After compiling bhyve and downloading the UEFI image I start Ubuntu like this: grub-bhyve -m device.map -r hd0,msdos1 -M 4G ubuntu ~lars/dev/bhyve_graphics/bhyve \ -s 0:0,hostbridge \ -s 1:0,lpc \ -s 2:0,virtio-net,tap1 \ -s 3:0,virtio-blk,./ubuntu-hd.img \ -s 11,fbuf,tcp=3D0.0.0.0:5900,w=3D1280,h=3D720,wait \ -s 20,xhci,tablet \ -l bootrom,/home/lars/dev/bhyve_graphics/BHYVE_UEFI_20160526.fd \ -c 4 \ -m 4G \ ubuntu Then I connect with vncviewer but only see this message: "Boot failed. EFI misc device" Is there anything I can try? --HSVPcR81XVhxeM7P Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQF8BAEBCgBmBQJXSCT1XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ4RjQwMDE3RTRERjUzMTI1N0FGRTUxNDlF NTRDQjM3RDNBMDg5RDZEAAoJEOVMs306CJ1t234IAIF+0AFoirHTuHs7kWUSiaLc uZbJtzMbC9zDeHPSgcH+OoyZi5kp8/lkD/0t6JDtIWmqSx84z8Ge64UWYVImmC+w Kme88bA6h3FngudnnGy4SX0pDawZwhM/tPgWeK3FKnRoiBSBZaNcvqiQtxg2KFVX OGQCHiziAihUu9IPFcOwNWj/xsAwbOtTFSCURjJGT3pOwNi4WXYf2Aq/bScaV6Jp Vv082vHYbOF4yNtOUQO6JfILIlNdemZ/MmDajlXZFvOzaSJKmjl+kLma1YGK1v7H N0Dkk5n2bf+S7AMgZJ1HgIXJ6JMBO9KH0OnTRSIzjp4xQ4A4A+31JgujwalW+6Q= =67SW -----END PGP SIGNATURE----- --HSVPcR81XVhxeM7P-- From owner-freebsd-virtualization@freebsd.org Fri May 27 11:11:17 2016 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 96797B4C936 for ; Fri, 27 May 2016 11:11:17 +0000 (UTC) (envelope-from jtubnor@gmail.com) Received: from mail-oi0-x229.google.com (mail-oi0-x229.google.com [IPv6:2607:f8b0:4003:c06::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5D5291237; Fri, 27 May 2016 11:11:17 +0000 (UTC) (envelope-from jtubnor@gmail.com) Received: by mail-oi0-x229.google.com with SMTP id b65so168603589oia.1; Fri, 27 May 2016 04:11:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=tLmfwsE1KT7DCXctOVEgZ8SxOShukc3TRZY66IxG4NU=; b=PdehzCA9xfg38qCQnXa4tUdpr+zY+fXWaiOAYHGBFvVNzfWzNqgv2YKrvFg6b/vdxy 89O0KVj1nOA/Iz3cww+zk+DpjPjKWfUMkPNuIeleuO5TxPHZbDo3UfgjSB3nS/tOiYlE eD9whzDwjVs/mg5dboMB6a2Mv5PVyrRD2EHudZ27GvB1WT8fQj3wPNvZrdrIySmWd3i7 Gpj5s80pfWgG3cxp30VShSk6QXFNTAHxFJDt8+O+I4nOXfSpe9jTGUV1nQGDJuhqx21a zGOvuFHjpiVmbei2N5xmQgx37t5LuyZyma3WftBE37SaH8zaPh+h7cWHWlk5rg1g1lTw mK4Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=tLmfwsE1KT7DCXctOVEgZ8SxOShukc3TRZY66IxG4NU=; b=hKmQH9XyjuD9DCkZbeVuWhES08wyP6ttWpE0IKrgrhRerlbWCoWRCVvir3xnuiUD0K gMF20MrKIfHp9Nhmnc+/Pu8qywXPWIx1HHE2qHQ8BaFc3LkqNQ2v+nQfGVZT/GSlF+LQ OALgKi4DrGrOy17ZjIU3q9QKsQggAtrMqwEGRYTsn30ussgcK35FnOhSHt/V5DLo9Ldb BPcsyqXiXwptV63Xh/013mi9o4QWuDmlVZuZl7UNxCSG4wBKepJ5szD96OYlHdYpaChk QOr3OuZNX5rB/BBzuPsqOY9BfQOuvEuxSvVNgJpbaQDDx60O6g42B1bQhiJIUCQ/H7mR zuGw== X-Gm-Message-State: ALyK8tL+KbZRCrBJlN5oFOuvdggFAZoy7qFw0U44VX24Lb6FqWfwLjebWsUjIU4F4WCKtITtOf/xYoDmRK/SmQ== MIME-Version: 1.0 X-Received: by 10.157.48.89 with SMTP id w25mr9016306otd.32.1464347476629; Fri, 27 May 2016 04:11:16 -0700 (PDT) Received: by 10.202.104.36 with HTTP; Fri, 27 May 2016 04:11:16 -0700 (PDT) Received: by 10.202.104.36 with HTTP; Fri, 27 May 2016 04:11:16 -0700 (PDT) In-Reply-To: <20160527104405.GA15808@e-new.0x20.net> References: <442c6d8f-2b64-c88b-382a-cf73eb6f7404@freebsd.org> <20160527104405.GA15808@e-new.0x20.net> Date: Fri, 27 May 2016 21:11:16 +1000 Message-ID: Subject: Re: bhyve graphics support From: Jason Tubnor To: Lars Engels Cc: freebsd-virtualization@freebsd.org, Peter Grehan Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.22 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.22 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: Fri, 27 May 2016 11:11:17 -0000 On 27 May 2016 8:44 PM, "Lars Engels" wrote: > > > downloading the UEFI image I start Ubuntu like this: > > grub-bhyve -m device.map -r hd0,msdos1 -M 4G ubuntu > ~lars/dev/bhyve_graphics/bhyve \ > -s 0:0,hostbridge \ > -s 1:0,lpc \ > -s 2:0,virtio-net,tap1 \ > -s 3:0,virtio-blk,./ubuntu-hd.img \ > -s 11,fbuf,tcp=0.0.0.0:5900,w=1280,h=720,wait \ > -s 20,xhci,tablet \ > -l bootrom,/home/lars/dev/bhyve_graphics/BHYVE_UEFI_20160526.fd \ > -c 4 \ > -m 4G \ > ubuntu > > > Then I connect with vncviewer but only see this message: > > "Boot failed. EFI misc device" I don't think you need the grub shim with uefi. Cheers, Jason From owner-freebsd-virtualization@freebsd.org Fri May 27 11:47:53 2016 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 E6AF8B4C611 for ; Fri, 27 May 2016 11:47:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (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 D6B5412D1 for ; Fri, 27 May 2016 11:47:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u4RBlqld092151 for ; Fri, 27 May 2016 11:47:53 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-virtualization@FreeBSD.org Subject: [Bug 202321] [bhyve, patch] More verbose error reporting in bhyve for backing images Date: Fri, 27 May 2016 11:47:53 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: commit-hook@freebsd.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-virtualization@FreeBSD.org X-Bugzilla-Flags: mfc-stable10? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.22 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: Fri, 27 May 2016 11:47:54 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D202321 --- Comment #3 from commit-hook@freebsd.org --- A commit references this bug: Author: bapt Date: Fri May 27 11:46:54 UTC 2016 New revision: 300843 URL: https://svnweb.freebsd.org/changeset/base/300843 Log: Improve error message when failing to open a backing file When bhyve cannot open a backing file, it now says explicitly which file could not be opened Note that the change has only be maed in block_if.c and not in pci_virtio_block.c as the error will always be catched by the first PR: 202321 (different patch) Reviewed by: grehan MFC after: 3 day Sponsored by: Gandi.net Differential Revision: https://reviews.freebsd.org/D6576 Changes: head/usr.sbin/bhyve/block_if.c --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Fri May 27 11:55:44 2016 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 4A50DB4C996 for ; Fri, 27 May 2016 11:55:44 +0000 (UTC) (envelope-from lars@e-new.0x20.net) Received: from mail.0x20.net (mail.0x20.net [217.69.76.211]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.0x20.net", Issuer "mail.0x20.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 0A8E51F1B; Fri, 27 May 2016 11:55:43 +0000 (UTC) (envelope-from lars@e-new.0x20.net) Received: from e-new.0x20.net (mail.0x20.net [IPv6:2001:aa8:fffb:1::3]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.0x20.net (Postfix) with ESMTPS id 038FA6E0081; Fri, 27 May 2016 13:55:40 +0200 (CEST) Received: from e-new.0x20.net (localhost [127.0.0.1]) by e-new.0x20.net (8.14.7/8.14.7) with ESMTP id u4RBteXt095874; Fri, 27 May 2016 13:55:40 +0200 (CEST) (envelope-from lars@e-new.0x20.net) Received: (from lars@localhost) by e-new.0x20.net (8.14.7/8.14.7/Submit) id u4RBteBr095403; Fri, 27 May 2016 13:55:40 +0200 (CEST) (envelope-from lars) Date: Fri, 27 May 2016 13:55:40 +0200 From: Lars Engels To: Jason Tubnor Cc: freebsd-virtualization@freebsd.org, Peter Grehan Subject: Re: bhyve graphics support Message-ID: <20160527115540.GB15808@e-new.0x20.net> References: <442c6d8f-2b64-c88b-382a-cf73eb6f7404@freebsd.org> <20160527104405.GA15808@e-new.0x20.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="MvEh5MSbieV/1Yst" Content-Disposition: inline In-Reply-To: X-Editor: VIM - Vi IMproved 7.4 X-Operation-System: FreeBSD 8.4-RELEASE-p23 User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.22 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: Fri, 27 May 2016 11:55:44 -0000 --MvEh5MSbieV/1Yst Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, May 27, 2016 at 09:11:16PM +1000, Jason Tubnor wrote: > On 27 May 2016 8:44 PM, "Lars Engels" wrote: > > > > > > downloading the UEFI image I start Ubuntu like this: > > > > grub-bhyve -m device.map -r hd0,msdos1 -M 4G ubuntu > > ~lars/dev/bhyve_graphics/bhyve \ > > -s 0:0,hostbridge \ > > -s 1:0,lpc \ > > -s 2:0,virtio-net,tap1 \ > > -s 3:0,virtio-blk,./ubuntu-hd.img \ > > -s 11,fbuf,tcp=3D0.0.0.0:5900,w=3D1280,h=3D720,wait \ > > -s 20,xhci,tablet \ > > -l bootrom,/home/lars/dev/bhyve_graphics/BHYVE_UEFI_20160526.fd \ > > -c 4 \ > > -m 4G \ > > ubuntu > > > > > > Then I connect with vncviewer but only see this message: > > > > "Boot failed. EFI misc device" >=20 > I don't think you need the grub shim with uefi. That might be, but removing the grug-bhyve call doesn't change the error message. --MvEh5MSbieV/1Yst Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQF8BAEBCgBmBQJXSDW8XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ4RjQwMDE3RTRERjUzMTI1N0FGRTUxNDlF NTRDQjM3RDNBMDg5RDZEAAoJEOVMs306CJ1tHYgH/2fHiA3+Z0V4B1cd/Uh0+FFO HPqcXodL5nJjC6u4wS2+3SRIaAUUXod7facnUXP1f2TuPZanX8IYIu31YNn+sLbK q03KFy99y/chmtrYLg82xp8BtPxriULUtWK+jIRCLHrvJwByPUA9NjWBPgqgST0r Au5SjaFF4BCJt2PKJWpwRpGnx10iV84I2CFx4oQq94kKaz9mi1XNn0RolnlDyJe3 ZhWao6kgpK5OArWHaEU9E9hXWiyXzkmqUTfoL1G4ovjxSWmsvJcxSG6dQchL69rF ACFInYpeFXIF0wG8fDh6iCVDCVNA28mAy3o9chHJ4MCMjl2uMZ7wFYuTyPFCYfc= =XFlo -----END PGP SIGNATURE----- --MvEh5MSbieV/1Yst-- From owner-freebsd-virtualization@freebsd.org Fri May 27 12:16:38 2016 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 21AF6B4A973 for ; Fri, 27 May 2016 12:16:38 +0000 (UTC) (envelope-from lists@yamagi.org) Received: from mail1.yamagi.org (yugo.yamagi.org [212.48.122.103]) (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 DF2251EAF for ; Fri, 27 May 2016 12:16:37 +0000 (UTC) (envelope-from lists@yamagi.org) Received: from [192.168.100.101] (helo=aka) by mail1.yamagi.org with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.86 (FreeBSD)) (envelope-from ) id 1b6GgN-000OWk-2m; Fri, 27 May 2016 14:16:33 +0200 Date: Fri, 27 May 2016 14:15:57 +0200 From: Yamagi Burmeister To: lars.engels@0x20.net Cc: jtubnor@gmail.com, freebsd-virtualization@freebsd.org Subject: Re: bhyve graphics support Message-Id: <20160527141557.e2ee91ee437a3893f818c468@yamagi.org> In-Reply-To: <20160527115540.GB15808@e-new.0x20.net> References: <442c6d8f-2b64-c88b-382a-cf73eb6f7404@freebsd.org> <20160527104405.GA15808@e-new.0x20.net> <20160527115540.GB15808@e-new.0x20.net> X-Mailer: Sylpheed 3.5.0 (GTK+ 2.24.29; amd64-portbld-freebsd10.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.22 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: Fri, 27 May 2016 12:16:38 -0000 > > > grub-bhyve -m device.map -r hd0,msdos1 -M 4G ubuntu > > > ~lars/dev/bhyve_graphics/bhyve \ > > > -s 0:0,hostbridge \ > > > -s 1:0,lpc \ > > > -s 2:0,virtio-net,tap1 \ > > > -s 3:0,virtio-blk,./ubuntu-hd.img \ > > > -s 11,fbuf,tcp=0.0.0.0:5900,w=1280,h=720,wait \ > > > -s 20,xhci,tablet \ > > > -l bootrom,/home/lars/dev/bhyve_graphics/BHYVE_UEFI_20160526.fd \ > > > -c 4 \ > > > -m 4G \ > > > ubuntu As far as I know UEFI supports ahci-* boot devices only. For the basic UEFI support without GOP the AHCI devices needed to be mapped on slot 3 and 4. I don't know if that's still the case. I've got working VNC access to a FreeBSD 10.3 VM. My Windows 7 install disc starts up, but the mouse is not working. Keystrokes through VNC give "atkbd data buffer full" errors. I'll open a new thread for that if I can't figure it out. Regards, Yamagi -- Homepage: www.yamagi.org XMPP: yamagi@yamagi.org GnuPG/GPG: 0xEFBCCBCB From owner-freebsd-virtualization@freebsd.org Fri May 27 15:08:47 2016 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 CD4D9B4BE27 for ; Fri, 27 May 2016 15:08:47 +0000 (UTC) (envelope-from grehan@freebsd.org) Received: from alto.onthenet.com.au (alto.OntheNet.com.au [203.13.68.12]) by mx1.freebsd.org (Postfix) with ESMTP id 9053017B8 for ; Fri, 27 May 2016 15:08:47 +0000 (UTC) (envelope-from grehan@freebsd.org) Received: from iredmail.onthenet.com.au (iredmail.onthenet.com.au [203.13.68.150]) by alto.onthenet.com.au (Postfix) with ESMTPS id 0587720B6AA8 for ; Sat, 28 May 2016 01:08:42 +1000 (AEST) Received: from localhost (iredmail.onthenet.com.au [127.0.0.1]) by iredmail.onthenet.com.au (Postfix) with ESMTP id D8A0E280F67 for ; Sat, 28 May 2016 01:08:41 +1000 (AEST) X-Amavis-Modified: Mail body modified (using disclaimer) - iredmail.onthenet.com.au Received: from iredmail.onthenet.com.au ([127.0.0.1]) by localhost (iredmail.onthenet.com.au [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id UVEP7laVVRaP for ; Sat, 28 May 2016 01:08:41 +1000 (AEST) Received: from Peters-MacBook-Pro-2.local (c-67-180-92-13.hsd1.ca.comcast.net [67.180.92.13]) by iredmail.onthenet.com.au (Postfix) with ESMTPSA id 0979B2809F7; Sat, 28 May 2016 01:08:38 +1000 (AEST) Subject: Re: bhyve graphics support To: Lars Engels References: <442c6d8f-2b64-c88b-382a-cf73eb6f7404@freebsd.org> <20160527104405.GA15808@e-new.0x20.net> <20160527115540.GB15808@e-new.0x20.net> Cc: freebsd-virtualization@freebsd.org From: Peter Grehan Message-ID: Date: Fri, 27 May 2016 08:08:39 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:45.0) Gecko/20100101 Thunderbird/45.1.0 MIME-Version: 1.0 In-Reply-To: <20160527115540.GB15808@e-new.0x20.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-CMAE-Score: 0 X-CMAE-Analysis: v=2.2 cv=LvDQ8TVc c=1 sm=1 tr=0 a=A6CF0fG5TOl4vs6YHvqXgw==:117 a=5eVCmCvhg37cu/pjidAGzw==:17 a=IkcTkHD0fZMA:10 a=yrkiwgmsf1kA:10 a=AB7bLBSsRXGfKcKFgY0A:9 a=8YQXshLogOgA:10 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.22 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: Fri, 27 May 2016 15:08:47 -0000 Hi Lars, >>> -s 3:0,virtio-blk,./ubuntu-hd.img \ ... >>> Then I connect with vncviewer but only see this message: >>> >>> "Boot failed. EFI misc device" Which Ubuntu version/image is this ? later, Peter. From owner-freebsd-virtualization@freebsd.org Fri May 27 15:11:39 2016 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 7786FB4BF00 for ; Fri, 27 May 2016 15:11:39 +0000 (UTC) (envelope-from grehan@freebsd.org) Received: from alto.onthenet.com.au (alto.OntheNet.com.au [203.13.68.12]) by mx1.freebsd.org (Postfix) with ESMTP id 3A5E11A3E for ; Fri, 27 May 2016 15:11:39 +0000 (UTC) (envelope-from grehan@freebsd.org) Received: from iredmail.onthenet.com.au (iredmail.onthenet.com.au [203.13.68.150]) by alto.onthenet.com.au (Postfix) with ESMTPS id 2F1F820B57A0 for ; Sat, 28 May 2016 01:11:35 +1000 (AEST) Received: from localhost (iredmail.onthenet.com.au [127.0.0.1]) by iredmail.onthenet.com.au (Postfix) with ESMTP id 1C7AC280F67 for ; Sat, 28 May 2016 01:11:35 +1000 (AEST) X-Amavis-Modified: Mail body modified (using disclaimer) - iredmail.onthenet.com.au Received: from iredmail.onthenet.com.au ([127.0.0.1]) by localhost (iredmail.onthenet.com.au [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id D8ahfXITCEDc for ; Sat, 28 May 2016 01:11:35 +1000 (AEST) Received: from Peters-MacBook-Pro-2.local (c-67-180-92-13.hsd1.ca.comcast.net [67.180.92.13]) by iredmail.onthenet.com.au (Postfix) with ESMTPSA id 54F982809F7; Sat, 28 May 2016 01:11:32 +1000 (AEST) Subject: Re: bhyve graphics support To: Yamagi Burmeister References: <442c6d8f-2b64-c88b-382a-cf73eb6f7404@freebsd.org> <20160527104405.GA15808@e-new.0x20.net> <20160527115540.GB15808@e-new.0x20.net> <20160527141557.e2ee91ee437a3893f818c468@yamagi.org> Cc: freebsd-virtualization@freebsd.org From: Peter Grehan Message-ID: <1fb4af03-1131-011b-faf7-fa993862c2fa@freebsd.org> Date: Fri, 27 May 2016 08:11:35 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:45.0) Gecko/20100101 Thunderbird/45.1.0 MIME-Version: 1.0 In-Reply-To: <20160527141557.e2ee91ee437a3893f818c468@yamagi.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-CMAE-Score: 0 X-CMAE-Analysis: v=2.2 cv=LvDQ8TVc c=1 sm=1 tr=0 a=A6CF0fG5TOl4vs6YHvqXgw==:117 a=5eVCmCvhg37cu/pjidAGzw==:17 a=N659UExz7-8A:10 a=yrkiwgmsf1kA:10 a=DkQKtBsGI1TbKY2Twl0A:9 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.22 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: Fri, 27 May 2016 15:11:39 -0000 Hi Yamagi, > As far as I know UEFI supports ahci-* boot devices only. For the basic > UEFI support without GOP the AHCI devices needed to be mapped on slot 3 > and 4. I don't know if that's still the case. Depends on the o/s being booted - if it needs legacy interrupt support, the only available slots with routing set up are 3/4/5/6. UEFI operates in polled-mode so it has no constraints on it's own. > I've got working VNC access to a FreeBSD 10.3 VM. My Windows 7 install > disc starts up, but the mouse is not working. Keystrokes through VNC > give "atkbd data buffer full" errors. I'll open a new thread for that > if I can't figure it out. XHCI isn't in Windows7 so you can just remove that config line, pushing mouse input through the PS2 mouse. later, Peter. From owner-freebsd-virtualization@freebsd.org Fri May 27 17:04:13 2016 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 1360AB4BDE5 for ; Fri, 27 May 2016 17:04:13 +0000 (UTC) (envelope-from bogorodskiy@gmail.com) Received: from mail-lf0-x22e.google.com (mail-lf0-x22e.google.com [IPv6:2a00:1450:4010:c07::22e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7E5E01244; Fri, 27 May 2016 17:04:12 +0000 (UTC) (envelope-from bogorodskiy@gmail.com) Received: by mail-lf0-x22e.google.com with SMTP id s64so24550245lfe.0; Fri, 27 May 2016 10:04:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=rnRw3g/zZFH2hdqhyS47m6oCILTeuSeIQ5fiCpUvs4k=; b=MxZwUrAQLC3T9y5IcTNVn7x8U32PDlpLgXfJ4g7fNjpbqNzOtJDa5Cmbdh3uVM1FVz 6SrUvRfVIaMP9b8NaZtmP1c7baZ+cT+fHlace1Y52TumF0Z8aOW10JRGLXvZ6bxnc0sz KaNY6cNJdIBKTqIvSbJfsy21K8eZbHWChAVU85LRjQPHodaQUG81yIoUJFwDcltbFqRi ykiFQIjELK/Y45D5fC6rseUoXbSTIaf1SMLIKPPAFX5P3lSeICPzhn6W/Q9Pg8dNBYE4 j4179aRzhM5YmKBEG1lqK2m8p43zLDOxfigf8a+Ll0xBlrMVbtpcLXQ6Or28JTfX0l0L ycVw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to:user-agent; bh=rnRw3g/zZFH2hdqhyS47m6oCILTeuSeIQ5fiCpUvs4k=; b=eZfbNouFwKGwf0P7QDj6hDYymBHXb/m2hX2SHKCVZX8ZKFSL8gNkDJkJw2fnbQM/6c ax/asmDZVqRS11KLFB84sL9mGjrjMPQggkjmBlWpAw/+j8k5gVXHUNSr8OGvYRhh6U4m m6p6x61AZARXOt5qWiFlEltO/Z/Kv/wz40mkuANWcXB+dsh4U+e7Kp2CELt+uXxa6WAG eTpLUrLP1kc7woLVkQ28dUcsSggUOqypJcrGnXwBN+d7+K9PMLinkiykVadDqIZxMBnb kVBcjBfTInhiJaSG4HGAQ3tRd7Yk7L1oAuY9PdZ+0vkoSLFj0PEx8eVkJovKx5nFdsvi lQpw== X-Gm-Message-State: ALyK8tJOf+Dr7O6z7dW+9qZLtGVoNS2OXjYRxfzuDREMxUBdP0uVin3RPGsjndunzD/lmQ== X-Received: by 10.25.82.2 with SMTP id g2mr2028633lfb.213.1464368650671; Fri, 27 May 2016 10:04:10 -0700 (PDT) Received: from kloomba ([77.94.197.227]) by smtp.gmail.com with ESMTPSA id o79sm3089672lfe.18.2016.05.27.10.04.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 27 May 2016 10:04:09 -0700 (PDT) Sender: Roman Bogorodskiy Date: Fri, 27 May 2016 20:03:50 +0300 From: Roman Bogorodskiy To: Peter Grehan Cc: "freebsd-virtualization@freebsd.org" Subject: Re: bhyve graphics support Message-ID: <20160527170347.GA25472@kloomba> References: <442c6d8f-2b64-c88b-382a-cf73eb6f7404@freebsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="W/nzBZO5zC0uMSeA" Content-Disposition: inline In-Reply-To: <442c6d8f-2b64-c88b-382a-cf73eb6f7404@freebsd.org> User-Agent: Mutt/1.6.0 (2016-04-01) X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.22 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: Fri, 27 May 2016 17:04:13 -0000 --W/nzBZO5zC0uMSeA Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Peter Grehan wrote: > As of r300829, support for graphic output has been checked into the=20 > projects/bhyve_graphics branch. This is just the usr.sbin/bhyve=20 > executable, so is quick and easy to build from source. >=20 > Assuming a reasonably current source tree is in /usr/src, > svn co http://svn.freebsd.org/base/projects/bhyve_graphics path/to/dir > cd path/to/dir > make BHYVE_SYSDIR=3D/usr/src -m /usr/src/share/mk >=20 > UEFI GOP support has been checked into the freebsd/edk2 repo: > =20 > https://github.com/freebsd/uefi-edk2/commit/a36132939e259df79b16699c03c6f= 1d63c7454b9 >=20 > A pre-built bhyve/UEFI binary image with GOP support is available at: > https://people.freebsd.org/~grehan/bhyve_uefi/BHYVE_UEFI_20160526.fd >=20 > The new bhyve executable supports some new devices. An example of using= =20 > them for Windows10 is: >=20 > bhyve \ > -c 2 \ > -s 3,ahci-cd,/images/win10_install.iso \ > -s 4,ahci-hd,/images/win10.img \ > -s 11,fbuf,tcp=3D0.0.0.0:5900,w=3D1600,h=3D900,wait \ > -s 20,xhci,tablet \ > -s 31,lpc \ > -l bootrom,/images/BHYVE_UEFI_20160526.fd \ > -m 2G -H -w \ > windows This is really great, thanks a lot to everyone who helped that happen! I've just tried to do a Fedora installation and it worked like a charm. A couple of questions: * There was a limitation that AHCI devices must use slots 3-6. [1] Is it still there? If yes, any plans to get rid of it? * It *seems* that now it's OK to cycle a VM this way: host# bhyve ... guest# reboot # guest goes away host# bhyve ... # run it again Previously (with bhyveload) it didn't work (for me at least) without doing "bhyvectl --destroy". Is it safe now not to call "bhyvectl --destroy" before the second run now? Thanks again, really glad to see this feature :-) 1: https://wiki.freebsd.org/bhyve/Windows Roman Bogorodskiy --W/nzBZO5zC0uMSeA Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJXSH3zAAoJEMltX/4IwiJqF1QH/RqJfYL+aLdWSCWCjyiKjkRu 74RAo4I+fpzftRgB5jpd93mi4mS54/C8aM001Gf/+tDU7u1d3jD8FHopnWKQXkj4 M/zmTxeXdVG49nUbmp8Rgcaa3zWr/qddNyZB1o1XgurGe3Q5YIWc7nUiX07iRQ/+ CqkXQwGnX3xrU88gKSTESSax5dhNz+T+sLJYyDfcjFQrT61eklTbKw7xx5UvXBhK P5eS+sCcIMFeKKkdWEHfavdqtp/9Teop63Q+Hg5n2pRU3Gtlfy3nC4NwRHW48zl1 +sK4BMV31MEBTd39aWwvj9D02WactQVusGKpzKfjmIa26/R002F1F+PbQ9wWc2Y= =MXgX -----END PGP SIGNATURE----- --W/nzBZO5zC0uMSeA-- From owner-freebsd-virtualization@freebsd.org Fri May 27 17:13:36 2016 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 E6963B4C04B for ; Fri, 27 May 2016 17:13:36 +0000 (UTC) (envelope-from grehan@freebsd.org) Received: from alto.onthenet.com.au (alto.OntheNet.com.au [203.13.68.12]) by mx1.freebsd.org (Postfix) with ESMTP id 9A2911999 for ; Fri, 27 May 2016 17:13:36 +0000 (UTC) (envelope-from grehan@freebsd.org) Received: from iredmail.onthenet.com.au (iredmail.onthenet.com.au [203.13.68.150]) by alto.onthenet.com.au (Postfix) with ESMTPS id 37EA820B57A5 for ; Sat, 28 May 2016 03:13:31 +1000 (AEST) Received: from localhost (iredmail.onthenet.com.au [127.0.0.1]) by iredmail.onthenet.com.au (Postfix) with ESMTP id 31CA52810BD for ; Sat, 28 May 2016 03:13:31 +1000 (AEST) X-Amavis-Modified: Mail body modified (using disclaimer) - iredmail.onthenet.com.au Received: from iredmail.onthenet.com.au ([127.0.0.1]) by localhost (iredmail.onthenet.com.au [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id pDY8Mhw8xITh for ; Sat, 28 May 2016 03:13:31 +1000 (AEST) Received: from Peters-MacBook-Pro-2.local (c-67-180-92-13.hsd1.ca.comcast.net [67.180.92.13]) by iredmail.onthenet.com.au (Postfix) with ESMTPSA id 7CCDB2809DA; Sat, 28 May 2016 03:13:29 +1000 (AEST) Subject: Re: bhyve graphics support To: Roman Bogorodskiy References: <442c6d8f-2b64-c88b-382a-cf73eb6f7404@freebsd.org> <20160527170347.GA25472@kloomba> Cc: "freebsd-virtualization@freebsd.org" From: Peter Grehan Message-ID: Date: Fri, 27 May 2016 10:13:30 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:45.0) Gecko/20100101 Thunderbird/45.1.0 MIME-Version: 1.0 In-Reply-To: <20160527170347.GA25472@kloomba> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-CMAE-Score: 0 X-CMAE-Analysis: v=2.2 cv=LvDQ8TVc c=1 sm=1 tr=0 a=A6CF0fG5TOl4vs6YHvqXgw==:117 a=5eVCmCvhg37cu/pjidAGzw==:17 a=N659UExz7-8A:10 a=yrkiwgmsf1kA:10 a=PzMr8rZaxJWmtYmVItAA:9 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.22 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: Fri, 27 May 2016 17:13:37 -0000 Hi Roman, > I've just tried to do a Fedora installation and it worked like a charm. > > A couple of questions: > > * There was a limitation that AHCI devices must use slots 3-6. [1] > Is it still there? If yes, any plans to get rid of it? It's not a limitation for guests that can use MSI for AHCI. Older versions of Windows use legacy interrupts, but I noticed that 2k16 (and maybe recent builds of 10) are using now using MSI. The real fix is to have more flexible ACPI DSDT generation from inside of UEFI, but that's a non-trivial project. > * It *seems* that now it's OK to cycle a VM this way: > > host# bhyve ... > guest# reboot # guest goes away > host# bhyve ... # run it again > > Previously (with bhyveload) it didn't work (for me at least) without > doing "bhyvectl --destroy". Is it safe now not to call "bhyvectl > --destroy" before the second run now? Yes, except for the case when you modify the amount of memory given to the guest - then you will need to delete prior to the run with the new config. later, Peter. From owner-freebsd-virtualization@freebsd.org Fri May 27 17:24:38 2016 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 5A1FFB4C319 for ; Fri, 27 May 2016 17:24:38 +0000 (UTC) (envelope-from bogorodskiy@gmail.com) Received: from mail-lb0-x22b.google.com (mail-lb0-x22b.google.com [IPv6:2a00:1450:4010:c04::22b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D21FB1FBF; Fri, 27 May 2016 17:24:37 +0000 (UTC) (envelope-from bogorodskiy@gmail.com) Received: by mail-lb0-x22b.google.com with SMTP id k7so33275581lbm.0; Fri, 27 May 2016 10:24:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=CQqQ+GbGKnncIaYKBNYrAgo+dM1vnM1sFv+q+AoAoto=; b=TGmuBXPKOvxOMuw3JyqBzNRIz6RvzBjMIs4bhZtXfsh8AlBgJfx3JgTXFsyR7rJQJB gBBFKtHDF7zKIQoU1tmQND5A+n4h3XC2Qx72LItKKnQZ4eqyb5pmNmRU8vYIXklkdvK6 jOM4Ak+BlYCmdyhwGa35CkVCCcoH4q4hTxiyuKRW5799gnoQOBjmmZDTBoZAb6pQiN8G KBaGYvQMWYeAhXewjBbbJhFV26VnKixK9UY9VQbCZfQkP9DV9ecHjZ7AfJ98212LTiQW HQNkY3m7zToH4IPRp6lwc1XJluD1U3kRqX8uhmyt5OfHRqMj7Of1H/O5O/o5EiOhH0cR G+HA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to:user-agent; bh=CQqQ+GbGKnncIaYKBNYrAgo+dM1vnM1sFv+q+AoAoto=; b=byignQrIqSDEPUlLmvEoz6/qTtaz7a9UhQVZWhSNT6r+cUhHDoWJ1hz5keQxnh8sWO 2ve/3RknuZrn6ZDuLt+0XTjeyYxzyrpjhvPkpF4O1+2f3syXtJ5x331hvkUtyWpr78uu tdJyXctj71AijOysa8peVldCHSzuMy6Arp9dSvUgaBi3mp2D380qHY2eyUi0O94lHtqi uuADR3VXq0EyeVahfOoTocFor4IZBAiK1YkFjoGcYvm+JbYvS8YxLVeeo0R/qT+oQURa qaRLpPRbXnEpOfSImgpCEfLXxgZRhi+JGr3bVxOPQhdZc69J9JD8RwhNX+E2o6/R4Wuq pi/g== X-Gm-Message-State: ALyK8tLlttnUTkp/zZkytgQyiyT3xBV9nkcMN6D478yAlSorMAZx1OfxfrnI9mG/EkagOA== X-Received: by 10.112.200.162 with SMTP id jt2mr1000693lbc.107.1464369875656; Fri, 27 May 2016 10:24:35 -0700 (PDT) Received: from kloomba ([77.94.197.227]) by smtp.gmail.com with ESMTPSA id k66sm3080541lfe.32.2016.05.27.10.24.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 27 May 2016 10:24:34 -0700 (PDT) Sender: Roman Bogorodskiy Date: Fri, 27 May 2016 20:24:31 +0300 From: Roman Bogorodskiy To: Peter Grehan Cc: "freebsd-virtualization@freebsd.org" Subject: Re: bhyve graphics support Message-ID: <20160527172430.GB25472@kloomba> References: <442c6d8f-2b64-c88b-382a-cf73eb6f7404@freebsd.org> <20160527170347.GA25472@kloomba> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="MfFXiAuoTsnnDAfZ" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.6.0 (2016-04-01) X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.22 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: Fri, 27 May 2016 17:24:38 -0000 --MfFXiAuoTsnnDAfZ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Peter Grehan wrote: > Hi Roman, >=20 > > I've just tried to do a Fedora installation and it worked like a charm. > > > > A couple of questions: > > > > * There was a limitation that AHCI devices must use slots 3-6. [1] > > Is it still there? If yes, any plans to get rid of it? >=20 > It's not a limitation for guests that can use MSI for AHCI. Older=20 > versions of Windows use legacy interrupts, but I noticed that 2k16 (and= =20 > maybe recent builds of 10) are using now using MSI. >=20 > The real fix is to have more flexible ACPI DSDT generation from inside= =20 > of UEFI, but that's a non-trivial project. >=20 > > * It *seems* that now it's OK to cycle a VM this way: > > > > host# bhyve ... > > guest# reboot # guest goes away > > host# bhyve ... # run it again > > > > Previously (with bhyveload) it didn't work (for me at least) without > > doing "bhyvectl --destroy". Is it safe now not to call "bhyvectl > > --destroy" before the second run now? >=20 > Yes, except for the case when you modify the amount of memory given to= =20 > the guest - then you will need to delete prior to the run with the new=20 > config. Got it, thanks! Roman Bogorodskiy --MfFXiAuoTsnnDAfZ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJXSILOAAoJEMltX/4IwiJqarsH/RtlSCjLTm8qY3HXlHRRs3i4 8bw2vneNuAYUi/19eHbaSmCEKiBYNRTCYKblLhIZoCuPAzsQqoiul5YjRyEiDUI6 YfZtQSBJlkXEtlTfDlB45PLupbGcprGvW3qH3711VUtmnsF7XCosn2MOXEYRmagt a9m6OiH2F3eqhQ6Pn6LMO9x6oCsenH3SLVYnmqUVRipbj3XKm6LuXDci3jZnk85v CZRV/esl11f55Bt+L+0zAI6zrq0WbHxl1rBpsnHXNkbxm+dN0uF97768GGsC7wbA EqlPytnvhciImzGyYxa6VV50axHINLdjtqjA7wg2F6ijiRaThBbdAXOQAW7QWoM= =mXj9 -----END PGP SIGNATURE----- --MfFXiAuoTsnnDAfZ-- From owner-freebsd-virtualization@freebsd.org Fri May 27 17:48:52 2016 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 49D8BB4C8EF for ; Fri, 27 May 2016 17:48:52 +0000 (UTC) (envelope-from editor@callfortesting.org) Received: from mail-pa0-x22f.google.com (mail-pa0-x22f.google.com [IPv6:2607:f8b0:400e:c03::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 13E5B1047 for ; Fri, 27 May 2016 17:48:51 +0000 (UTC) (envelope-from editor@callfortesting.org) Received: by mail-pa0-x22f.google.com with SMTP id eu11so32908542pad.3 for ; Fri, 27 May 2016 10:48:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=callfortesting-org.20150623.gappssmtp.com; s=20150623; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding; bh=F96pNwOalwMCwdTjP79Ygi3+BOodNwbgKSv1MWSAyqk=; b=cmy2G7TMfiLP+YivTnCP4JDasK7OOUcSJDl1o3bHNgG9NVKJF3VwSsju3YOeYULexF Szr2L68JxzXp539E5Jkctqr0YGNp4hNYS4xmCLxtAlCiavMiVLUDpQH58PetkpB12hbI 9Dr1yI0D+yn+NOMDiMDIfQT+B9nxuDzGcPzxqGRUEwg9I0ryK4YpAVjgnpGoI4uhZgkB rYBkrEX6itLJi1oHRUH9QrDhENvfWGmeUtHHCt4ezGEqV/wOKSOwjmwOgMoMEzO6GY42 wh1HD483kXQkrWjLdW0ZJwYBMQvdet3M84UnStHf61uFVfN56MfIaet+a5BWMQCnA6yu yf8w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=F96pNwOalwMCwdTjP79Ygi3+BOodNwbgKSv1MWSAyqk=; b=MsVpE4Y4ZOAYEtgQyYKaCWDcFCnsXJH+NG7JET22lgeFuVeHUDruRumKMmyeCvA1Sh htysPmhifVP+IK9mZoZMLd/lCn+40cPPkT5hJNaXgi4zjLrZW460AvhRFVDHPG23qv48 0dP7ImB9UalDUGeL0YIyCZsTkxVgOlP2h3JThNhfNC6wD9xddisyEGatZCzNdY15qDca 7TX+JJc0Zev1shrmEva8W8lm5o2xJvfhgBOa9ViqOOzjSAPjlAOtqkuHWwfS4JQ8au2U yFCd8OdKXv8qL1EGbZrvsysUFCgrmxeXChOOkHz2DleyENjVDWRqnfN5b9OBFCsgOTP1 OdIw== X-Gm-Message-State: ALyK8tKap/hHEoqfu2JqjlKHa4/ap4JlHGKKPUa3cHSzTQmn01GxGm5rB5mPXLAo7XoccQ== X-Received: by 10.66.232.226 with SMTP id tr2mr24427035pac.44.1464371331258; Fri, 27 May 2016 10:48:51 -0700 (PDT) Received: from Michaels-MacBook-Pro.local (c-73-25-21-123.hsd1.or.comcast.net. [73.25.21.123]) by smtp.gmail.com with ESMTPSA id lg17sm29688695pab.36.2016.05.27.10.48.50 for (version=TLSv1/SSLv3 cipher=OTHER); Fri, 27 May 2016 10:48:50 -0700 (PDT) Subject: Re: bhyve graphics support To: freebsd-virtualization@freebsd.org References: <442c6d8f-2b64-c88b-382a-cf73eb6f7404@freebsd.org> From: Michael Dexter Message-ID: <57488886.3060204@callfortesting.org> Date: Fri, 27 May 2016 10:48:54 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:38.0) Gecko/20100101 Thunderbird/38.7.0 MIME-Version: 1.0 In-Reply-To: <442c6d8f-2b64-c88b-382a-cf73eb6f7404@freebsd.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.22 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: Fri, 27 May 2016 17:48:52 -0000 On 5/27/16 1:33 AM, Peter Grehan wrote: > As of r300829, support for graphic output has been checked into the > projects/bhyve_graphics branch... HUGE thanks to Leon and Peter for making this happen. We all owe them our gratitude as with all things bhyve, this is non-trivial code. There is a dedicated UEFI page on the wiki that would be suitable for the FAQ's that are starting to appear on this thread. I will sync it with Peter's original message and welcome others to contribute: https://wiki.freebsd.org/bhyve/UEFI I tested every major GNU/Linux distribution and a few variants and Windows up through 2016 TP5. The results have been great but I'm sure there are edge cases that need addressing. Please do test this with high CPU counts, RAM allocations and anything else you can think of. All the best, Michael Dexter From owner-freebsd-virtualization@freebsd.org Fri May 27 18:24:29 2016 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 276BDB4C2C0 for ; Fri, 27 May 2016 18:24:29 +0000 (UTC) (envelope-from shawn.webb@hardenedbsd.org) Received: from mail-qk0-x22b.google.com (mail-qk0-x22b.google.com [IPv6:2607:f8b0:400d:c09::22b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D3DDE17DE for ; Fri, 27 May 2016 18:24:28 +0000 (UTC) (envelope-from shawn.webb@hardenedbsd.org) Received: by mail-qk0-x22b.google.com with SMTP id h185so51581675qke.2 for ; Fri, 27 May 2016 11:24:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hardenedbsd-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=0DBYXLqgWyYq7+yDngQxx716UpuGeokjEam4kbQ/VIE=; b=PlvWQsqxToFBJaTh35B3D0gGSq3ixN5+jantsyDq9BEDVUOxioDiE0KgH5rQl8wyoA 7NrY6EBQnKq3ZGAwO7xY2GaHpsPH9fDNft4cbGgXXFjhdnzkjhSQ5Zq563y/qpNdfyZ8 JzUMT4q3wh2auHt8tnlf+X5AaZ4WszCRrEHvZrS9wuxIx4glMEzTsmVE0/o14ftnlvx8 mmpGSpTjiIQ+FGjQux3SzetXrlgabws/PUCWP15CJ58eyON/p0UxNgO+KkoJHXPojyHb IKd7juQ/IMn8+iz83ESzi2oWq9jPOFZzthDgzBtAhxONAlxF12UMnpUm7VKP0WisTa7p qcYw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=0DBYXLqgWyYq7+yDngQxx716UpuGeokjEam4kbQ/VIE=; b=KBhyj5KlUIZW78DwBqNZXSPLcZ/nkUG+iGQ6B71lyEHvw37vsZAC10PHu95bX32VWb yeW989Jp4woqxouNQJ02cwsLgoUQeQdhNvmWdvGrJ/XouVgUXHgNX6oFIhutoWAPn5C2 4gxPH/N4FfF271+vCNyQGSOyRxyEQHRL4kz4b1fWPZun3bECXY+iaD9prFisSUY2+yiS J6A0i4JRe4XGA4pAk+72LZWg6vx3eYjIDvkvLFIRHzlgghtVn3QLiGSiSs8N6OgePWln uv0ozj5Xwttz0gJ8a0MHi/2oHot3WJN+iGg6mZrFh3FNIbFblTu66VWsAqOIJFO+hbXd vCMw== X-Gm-Message-State: ALyK8tKnLlzInaQ2Np2Wwr3PyX1MfrY3o6se3I4nzztDontCna8BYBLu64ZmQ/2inb24v584 X-Received: by 10.55.39.146 with SMTP id n140mr409135qkn.10.1464373468031; Fri, 27 May 2016 11:24:28 -0700 (PDT) Received: from mutt-hardenedbsd (c-76-111-14-198.hsd1.md.comcast.net. [76.111.14.198]) by smtp.gmail.com with ESMTPSA id u126sm3314036qhu.11.2016.05.27.11.24.26 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 27 May 2016 11:24:26 -0700 (PDT) Date: Fri, 27 May 2016 14:24:24 -0400 From: Shawn Webb To: Michael Dexter Cc: freebsd-virtualization@freebsd.org Subject: Re: bhyve graphics support Message-ID: <20160527182424.GA70111@mutt-hardenedbsd> References: <442c6d8f-2b64-c88b-382a-cf73eb6f7404@freebsd.org> <57488886.3060204@callfortesting.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="lrZ03NoBR/3+SXJZ" Content-Disposition: inline In-Reply-To: <57488886.3060204@callfortesting.org> X-Operating-System: FreeBSD mutt-hardenedbsd 11.0-ALPHA1-HBSD FreeBSD 11.0-ALPHA1-HBSD X-PGP-Key: http://pgp.mit.edu/pks/lookup?op=vindex&search=0x6A84658F52456EEE User-Agent: Mutt/1.6.0 (2016-04-01) X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.22 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: Fri, 27 May 2016 18:24:29 -0000 --lrZ03NoBR/3+SXJZ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, May 27, 2016 at 10:48:54AM -0700, Michael Dexter wrote: > On 5/27/16 1:33 AM, Peter Grehan wrote: > > As of r300829, support for graphic output has been checked into the > > projects/bhyve_graphics branch... >=20 > HUGE thanks to Leon and Peter for making this happen. We all owe them=20 > our gratitude as with all things bhyve, this is non-trivial code. >=20 > There is a dedicated UEFI page on the wiki that would be suitable for=20 > the FAQ's that are starting to appear on this thread. I will sync it=20 > with Peter's original message and welcome others to contribute: >=20 > https://wiki.freebsd.org/bhyve/UEFI >=20 > I tested every major GNU/Linux distribution and a few variants and=20 > Windows up through 2016 TP5. The results have been great but I'm sure=20 > there are edge cases that need addressing. Please do test this with high= =20 > CPU counts, RAM allocations and anything else you can think of. I'd like to echo Michael Dexter's appreciation. Peter, Michael, and everyone else who worked on this: thank you so much. I've imported the new bhyve code into a feature branch of HardenedBSD. I'm glad to report that it's working flawlessly, even when compiled with PIE + RELRO + BIND_NOW. Here's a little screenshot showing CentOS getting installed: https://photos.google.com/share/AF1QipPKqcVSwcPYxqEmfjXFJaMojL09ltTqmMsj-KX= wdVftUL1BQQIfAApJrp8js4OMuQ?key=3DbG9YOE5ubS0yOEFrdmlqZ0x4eGw4OUFLTDZlUkln Thanks, --=20 Shawn Webb Cofounder and Security Engineer HardenedBSD GPG Key ID: 0x6A84658F52456EEE GPG Key Fingerprint: 2ABA B6BD EF6A F486 BE89 3D9E 6A84 658F 5245 6EEE --lrZ03NoBR/3+SXJZ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJXSJDWAAoJEGqEZY9SRW7uUBcP/2kL+9yXM9/t+Zlc7qzpb9et Q9+oA3ZJjHs58oHl+xBwMOe5s0cwqL1ySrrLZVn08YCmOBaO8pb2KaiQmrrm/4B3 QnY5liIQEUJylmYBJpiXbVPrUlfKjx/e3d6Gsi8wkTGTSr7u22Zi9oBgZDU7Sl4s QAqUCP2eq5yLZxuGtr5WJJQaxPyMPWT5MHBPXJh7d0Q8RGEkOGTwr38zzb3yZUu+ thOplwVjSDT5hCoA4FpHrOz9qJ7ndRuOwPt/5x5WJetcjQfBjCmQpRcogo4imP5K XiQSKTACJL/u+3JLq0lTSz7d4QWADeO73i0dRjZFfM8DzAZjN7tDQL+W0wsviotu j2NUiCgrGAWjug4IBiyj7VWwrouaFByUA/wAnHNaQdlkHWBreAYLqxyj5PwCm5Gu EtRhU12iZ/xzDXALYWEUTmuh06bCYp7XS5T8eAPCi48OgOeaKK/AnGQ9Bn7DkhIm nFnLJ/s2Yw2S5r9gcACopMKKy4T+TC39fWrN9+esnmiDq/DREyE9WaEOsqIP+FZU sjdQHgE5liLz80/29wmXFBdKO2N9EhmrBro3wCcO8SfwcObppexYoNlsT6QmDQYz NAntgR5PyguiJj4tP6ZOXDgNZnH4niof5eHAHJiu56Q83ZKDFtKDBpUMrO0fqlGW UfwidmVvF5VcZDypJStj =yrHV -----END PGP SIGNATURE----- --lrZ03NoBR/3+SXJZ-- From owner-freebsd-virtualization@freebsd.org Sat May 28 17:59:08 2016 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 F3225B4E259 for ; Sat, 28 May 2016 17:59:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (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 E33801084 for ; Sat, 28 May 2016 17:59:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u4SHx86t056152 for ; Sat, 28 May 2016 17:59:08 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-virtualization@FreeBSD.org Subject: [Bug 209427] [PATCH] if_vtnet(4) is not sending LINK_(UP|DOWN) events Date: Sat, 28 May 2016 17:59:09 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: novel@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords short_desc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.22 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: Sat, 28 May 2016 17:59:09 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D209427 Roman Bogorodskiy changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch Summary|if_vtnet(4) is not sending |[PATCH] if_vtnet(4) is not |LINK_(UP|DOWN) events |sending LINK_(UP|DOWN) | |events --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Sat May 28 18:04:21 2016 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 5C5AFB4E3DF for ; Sat, 28 May 2016 18:04:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (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 4CF7013A6 for ; Sat, 28 May 2016 18:04:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u4SI4LOS070693 for ; Sat, 28 May 2016 18:04:21 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-virtualization@FreeBSD.org Subject: [Bug 209427] [PATCH] if_vtnet(4) is not sending LINK_(UP|DOWN) events Date: Sat, 28 May 2016 18:04:21 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: bryanv@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.22 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: Sat, 28 May 2016 18:04:21 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D209427 --- Comment #3 from Bryan Venteicher --- (In reply to Roman Bogorodskiy from comment #2) I think is still a bit dirty: are you using a host that does not advertise = the VIRTIO_NET_F_STATUS feature? --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Sat May 28 18:14:35 2016 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 9E822B4E605 for ; Sat, 28 May 2016 18:14:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (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 876731882 for ; Sat, 28 May 2016 18:14:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u4SIEZE3039511 for ; Sat, 28 May 2016 18:14:35 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-virtualization@FreeBSD.org Subject: [Bug 209427] [PATCH] if_vtnet(4) is not sending LINK_(UP|DOWN) events Date: Sat, 28 May 2016 18:14:35 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: novel@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.22 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: Sat, 28 May 2016 18:14:35 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D209427 --- Comment #4 from Roman Bogorodskiy --- (In reply to Bryan Venteicher from comment #3) I'm using it with bhyve. Looks like it does advertise the VIRTIO_NET_F_STATUS feature: https://svnweb.freebsd.org/base/head/usr.sbin/bhyve/pci_virtio_net.c?view= =3Dmarkup#l90 However, it looks like it's set to 1 if it successfully opens a tap device = and doesn't change after that: https://svnweb.freebsd.org/base/head/usr.sbin/bhyve/pci_virtio_net.c?view= =3Dmarkup#l891 (I could be wrong in my interpretation though). --=20 You are receiving this mail because: You are the assignee for the bug.=