grub-bhyve add -S parameter for wiring memory

jkalousek

Dabbler
Joined
Dec 17, 2017
Messages
16
Hi,
I would like to pass pci card to bhyve VM created by FreeNAS GUI.
I have added vmm_load and pptdevs to loader and my PCI device (7/0/0) is correctly assigned ppt driver.

I also have custom command that would run bhyve VM after start instead of auto starting by FreeNAS:
bhyve -A -H -S -w -c 4 -m 8192 -s 0:0,hostbridge -s 31,lpc -l com1,/dev/nmdm1A -l bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI.fd -s 3,e1000,tap0,mac=00:a0:98:3d:80:95 -s 4:0,virtio-blk,/dev/zvol/DV2/Docker -s 10:0,passthru,7:0:0 1_Docker

But I do not know enough about FreeBSD and FreeNAS to figure out how to pass -S parameter to grub-bhyve can anybody point me right direction so I can figure out either where I can change config in FreeNAS to add this parameter or how does this command look like when FreeNAS is executing it - so I can execute it manually?
 
Top