Hi folks,
My VM knowledge had to take a leap today as I wanted to dedicate some hardware NICs to a VM (with a view to using it to run a router/firewall VM).
The accepted knowledge on any forum post dedicated to this appears to be that you need to 'use iohyve' involving some tunables tweaks and then configuring the VM using iohyve in the command line. However other posts suggest that iohyve is 'outdated' and 'a stopgap'. Confusing. Now it seems that bhyve supports pci pass-through itself. https://wiki.freebsd.org/bhyve/pci_passthru
So my question... how do I add these passthrough config arguments that are detailed in the bhyve man page, namely: "-s 7,passthru,2/0/0" to my bhyve VMs created in the FreeNAS GUI? I was searching for a 'custom options' text field where maybe I could paste them in, but I can't find it. If it cannot be done through the GUI, where can I edit these in the config in a manner that will persist accross reboots/upgrades etc?
I realise the device masking from FreeNAS still needs to be done using a tunable at boot time (pptdevs, loader).
Thank you!
My VM knowledge had to take a leap today as I wanted to dedicate some hardware NICs to a VM (with a view to using it to run a router/firewall VM).
The accepted knowledge on any forum post dedicated to this appears to be that you need to 'use iohyve' involving some tunables tweaks and then configuring the VM using iohyve in the command line. However other posts suggest that iohyve is 'outdated' and 'a stopgap'. Confusing. Now it seems that bhyve supports pci pass-through itself. https://wiki.freebsd.org/bhyve/pci_passthru
So my question... how do I add these passthrough config arguments that are detailed in the bhyve man page, namely: "-s 7,passthru,2/0/0" to my bhyve VMs created in the FreeNAS GUI? I was searching for a 'custom options' text field where maybe I could paste them in, but I can't find it. If it cannot be done through the GUI, where can I edit these in the config in a manner that will persist accross reboots/upgrades etc?
I realise the device masking from FreeNAS still needs to be done using a tunable at boot time (pptdevs, loader).
Thank you!