From owner-freebsd-current@freebsd.org Wed Sep 6 15:50:56 2017 Return-Path: Delivered-To: freebsd-current@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 AA383E0900D; Wed, 6 Sep 2017 15:50:56 +0000 (UTC) (envelope-from crest@rlwinm.de) Received: from mail.rlwinm.de (mail.rlwinm.de [IPv6:2a01:4f8:171:f902::5]) (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 22C6A7F512; Wed, 6 Sep 2017 15:50:56 +0000 (UTC) (envelope-from crest@rlwinm.de) Received: from crest.local (unknown [IPv6:2a00:c380:c0d5:1:10be:4354:8df3:b2d8]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.rlwinm.de (Postfix) with ESMTPSA id A2A9AA5E9; Wed, 6 Sep 2017 15:50:54 +0000 (UTC) Subject: Re: openbsd 6.0 or 6.1 guest on freebsd-12 (current) host To: tech-lists , freebsd-virtualization@freebsd.org Cc: freebsd-current@freebsd.org References: <638126a7-2527-5329-c952-f173c9b011b2@rlwinm.de> From: Jan Bramkamp Message-ID: Date: Wed, 6 Sep 2017 17:50:54 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Sep 2017 15:50:56 -0000 On 06.09.17 17:45, tech-lists wrote: > On 06/09/2017 16:23, Jan Bramkamp wrote: >> I'm running OpenBSD 6.1 (with two virtual CPU cores) as bhyve guest on >> FreeBSD 11.1. The only problem I encountered is that it requires an >> external grub bootloader because the OpenBSD EFI boot code is >> incompatible with the bhyve EFI boot ROM. > Hi, > > Which external grub bootloader did you use? Was it sysutils/grub2-bhyve ? I use the sysutils/grub2-bhyve port to load the OpenBSD kernel and runit for process supervision to keep the bhyve guest running unless the bhyve exit code signals an intend to perform shutdown. This allows the VMs to reboot themselves.