From owner-freebsd-virtualization@FreeBSD.ORG Mon Jun 22 20:00:45 2015 Return-Path: Delivered-To: freebsd-virtualization@nevdull.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5C5EF397 for ; Mon, 22 Jun 2015 20:00:45 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 5672779F; Mon, 22 Jun 2015 20:00:43 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from porto.starpoint.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id XAA02364; Mon, 22 Jun 2015 23:00:42 +0300 (EEST) (envelope-from avg@FreeBSD.org) Received: from localhost ([127.0.0.1]) by porto.starpoint.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1Z77tZ-0005W4-Vq; Mon, 22 Jun 2015 23:00:42 +0300 Message-ID: <55886931.1090600@FreeBSD.org> Date: Mon, 22 Jun 2015 22:59:45 +0300 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Peter Grehan CC: "freebsd-virtualization@freebsd.org" Subject: Re: bhyve -> grub-bhyve without intermediate destroy References: <55884A61.4080106@FreeBSD.org> <55885D32.7040003@freebsd.org> In-Reply-To: <55885D32.7040003@freebsd.org> Content-Type: text/plain; charset=windows-1252 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: Mon, 22 Jun 2015 20:00:45 -0000 On 22/06/2015 22:08, Peter Grehan wrote: > Hi Andriy, > >> This is what happens if I create and run a VM by using grub-bhyve and bhyve, >> then exit from the VM via shutdown -r within it, and then try to run it again by >> using grub-bhyve and bhyve: >> >> Assertion failed: (error == 0), function fbsdrun_addcpu, file >> /usr/src/usr.sbin/bhyve/bhyverun.c, line 261 >> >> grub-bhyve apparently succeeds, but bhyve can't start up. >> Both invocation of bhyve are with "-c 1". > > This was fixed in grub2-bhyve upstream with > > https://github.com/grehan-freebsd/grub2-bhyve/commit/370fa455d41212282bf63cea7b048e87a821a31a > > > I'm gathering a few more fixes before doing a point release of grub2-bhyve, at > which point the FreeBSD port will be updated. > > You'll need to do a 'bhyvectl --destroy' until then, or build grub2-bhyve from > upstream. Thank you! Will the release that you are planning include the ext4 64-bit patch? -- Andriy Gapon