From owner-freebsd-virtualization@freebsd.org Sun Oct 4 20:25:20 2015 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 0AA24A10AFE for ; Sun, 4 Oct 2015 20:25:20 +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 C2F7A1B0A for ; Sun, 4 Oct 2015 20:25:19 +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 ESMTP id 32BE9114F2 for ; Mon, 5 Oct 2015 06:25:18 +1000 (EST) Received: from localhost (iredmail.onthenet.com.au [127.0.0.1]) by iredmail.onthenet.com.au (Postfix) with ESMTP id 2ADB3280F8B for ; Mon, 5 Oct 2015 06:25:18 +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 10024) with ESMTP id KLYnuXx2Qdxj for ; Mon, 5 Oct 2015 06:25:18 +1000 (AEST) Received: from Peters-MacBook-Pro.local (c-50-131-190-8.hsd1.ca.comcast.net [50.131.190.8]) by iredmail.onthenet.com.au (Postfix) with ESMTPSA id 9CB10280995 for ; Mon, 5 Oct 2015 06:25:17 +1000 (AEST) To: "freebsd-virtualization@freebsd.org" From: Peter Grehan Subject: Illumos support in bhyve Message-ID: <56118B2B.2040101@freebsd.org> Date: Sun, 4 Oct 2015 13:25:15 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.20 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, 04 Oct 2015 20:25:20 -0000 To follow up on the previous post, with the UEFI support introduced in r288524, bhyve can now boot Illumos since there is a working BIOS. This has been tested with SmartOS and also OpenIndiana and OmniOS, though I've not been able to work out how to enable serial console support for the latter two post-install. The best bet is the most recent SmartOS: https://us-east.manta.joyent.com/Joyent_Dev/public/SmartOS/smartos-latest.iso Grab the UEFI build with CSM/BIOS enabled: http://people.freebsd.org/~grehan/bhyve_uefi/BHYVE_UEFI_CSM_20151002.fd An example command line is: bhyve \ -c 2 \ -s 3,ahci-cd,/path/to/smartos-20151001T070028Z.iso \ -s 4,ahci-hd,/path/to/smartos.img \ -s 5,virtio-net,tap0 \ -s 31,lpc \ -l com1,/dev/nmdm0A \ -l com2,/dev/nmdm1A \ -l bootrom,/path/to/BHYVE_UEFI_CSM_20151002.fd \ -m 2G -H smartos UEFI/CSM debug output is on com1, grub1 is on com2, install is on com1. On a reboot after install, login sessions are enabled for both com1 and com2. Many thanks to Andriy Gapon for helping out with debug, and Ben Perrault for giving it a good shakeout. later, Peter.