Bhyve: build kernel with vmm

kakawkaization

New Member


Messages: 5

Hello, I'm build kernel with options for Bhyve:
Code:
device if_bridge 
device tap
device nmdm
It's ok and it works.

But, I can't find anywhere option for vmm(4) like: device vmm.
With this option kernel can't build. My configuration for bhyve works when I add to /boot/loader.conf
Code:
vmm_load="YES"
But I don't want to use loader.conf and want to build kernel for bhyve with vmm(4).

How to build kernel with vmm.ko?
Thank you, sorry for my bad English.
 
Last edited by a moderator:

grehan@

Member
Developer

Reaction score: 87
Messages: 88

Currently bhyve can only be built as a module. If you need it to be built into the kernel, the appropriate lines would have to be added to sys/conf/files.amd64

Any particular reason why the loader.conf solution won't work ?
 
OP
kakawkaization

kakawkaization

New Member


Messages: 5

loader.conf is works, but i want to compile kernel with same modules.
i compile kernel with modules
device if_bridge
device tap
device nmdm

But.. there is no instruction how to add vmm to kernel.
 
Top