Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Jun 2015 12:08:34 -0700
From:      Peter Grehan <grehan@freebsd.org>
To:        Andriy Gapon <avg@FreeBSD.org>
Cc:        "freebsd-virtualization@freebsd.org" <freebsd-virtualization@FreeBSD.org>
Subject:   Re: bhyve -> grub-bhyve without intermediate destroy
Message-ID:  <55885D32.7040003@freebsd.org>
In-Reply-To: <55884A61.4080106@FreeBSD.org>
References:  <55884A61.4080106@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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.

later,

Peter.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?55885D32.7040003>