I was trying to port OpenStack components to FreeBSD OS, and it will leverage bhyve to spawn virtual machines. The bhyve VM (denoted as "guest VM") will be nested because the development environment is in a VM, i.e., the OpenStack itself runs inside a VM (denoted as "host VM"). However, when trying to spawn a guest VM on the host VM (which is Linux KVM), the host VM will become unresponsive.
The environment I've got:
The same issue happened on a Proxmox VE server, too. Both Harvester and Proxmox VE are QEMU/KVM-based solutions.
The following steps describe how I create the bhyve guest VM with the aid of vm-bhyve
tool. Most of the steps are from this web page
In /zroot/bhyve/.templates/uefi.conf
After spinning up the guest VM, the host VM froze immediately. The only thing I can do is to forcibly reboot the host VM from the hypervisor on the bare-metal server.