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--