bhyve -> grub-bhyve without intermediate destroy

Peter Grehan grehan at freebsd.org
Mon Jun 22 19:08:41 UTC 2015


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.



More information about the freebsd-virtualization mailing list