Usage per instructions failed to boot VM's w/ the following error msg: Effective AML package length is zero changing /usr/local/etc/rc.d/bhyve command_args="new-session -ds ${_session} \"sh -c 'echo \\\$PPID >${pidfile}; while true; do /usr/sbin/bhyvectl --vm=${_session} --destroy; /usr/sbin/bhyveload -m ${bhyve_memsize} -d ${bhyve_diskdev} ${_session} && /usr/sbin/bhyve -c ${bhyve_ncpu} -m ${bhyve_memsize} -AI -H -P -g 0 -s 0:0,hostbridge -s 1:0,virtio-net,${bhyve_tapdev} -s 2:0,virtio-blk,${bhyve_diskdev} -s 31,uart,stdio ${_session} || break; done'\"" to command_args="new-session -ds ${_session} \"sh -c 'echo \\\$PPID >${pidfile}; while true; do /usr/sbin/bhyvectl --vm=${_session} --destroy; /usr/sbin/bhyveload -m ${bhyve_memsize} -d ${bhyve_diskdev} ${_session} && /usr/sbin/bhyve -c ${bhyve_ncpu} -m ${bhyve_memsize} -AI -H -P -g 0 -s 0:0,hostbridge -s 1:0,virtio-net,${bhyve_tapdev} -s 2:0,virtio-blk,${bhyve_diskdev} -s 3:0,lpc -l com1,stdio ${_session} || break; done'\"" works for me.
A commit references this bug: Author: grembo Date: Mon Nov 16 19:01:22 UTC 2015 New revision: 401782 URL: https://svnweb.freebsd.org/changeset/ports/401782 Log: Fix to start bhyve properly on 10.2. PR: 204111 Approved by: mentors (implicit) Changes: head/sysutils/bhyve-rc/Makefile head/sysutils/bhyve-rc/files/bhyve.in
Assign to committer that resolved. Also, does this require a merge (MFH) to the quarterly branch? If so, mfh, set merge-quarterly to +, then close If not, set merge-quarterly to -, then close
Thanks for asking, I wasn't aware how that works and it makes total sense.
Re-open for the sake of exercise. Sorry for the noise.
Asked portmgr@ for permission, which was probably not required (and maybe not even the correct process), but the blanket approval only seems to allow to fix build errors but not the port itself. As I got no feedback and the next quarterly branch is around the corner, there's not much point to MFH/waste people's time now.