Osc4r
Cadet
- Joined
- Jun 28, 2020
- Messages
- 6
I have a pfsense system in a virtual machine managed by iohyve. As interfaces, I use two of the four ports of an Intel I350 card. These interfaces are passed as pci passthrough devices without problem.
Recently I wanted to transfer the virtual machine to be managed directly by TrueNAS. I created the machine and added the two Passthru devices (they are correctly listed in the menu as 3/0/2 and 3/0/3), but when I boot the virtual machine, the guest system does not see the devices.
Looking at the log in /var/log/libvirt/bhyve I see that the difference is that when I try to boot the machine directly from the TrueNAS interface, it uses the parameter format -s 8:2,passthru,3/0/2, but iohyve uses only -s 8,passthru,3/0/2 (it does not use <slot>:<function>, but <slot> only).
I have run bhyve directly from the command line using the call listed in the log, but removing the function id and the virtual machine detects the interfaces correctly.
Is there any way to omit the function parameter from the TrueNAS interface?
My system is:
TrueNAS-13.0-U5.2
Intel Xeon E5-2650
16GB RAM ECC
4-port Intel I350 NIC
Regards,
Oscar
Recently I wanted to transfer the virtual machine to be managed directly by TrueNAS. I created the machine and added the two Passthru devices (they are correctly listed in the menu as 3/0/2 and 3/0/3), but when I boot the virtual machine, the guest system does not see the devices.
Looking at the log in /var/log/libvirt/bhyve I see that the difference is that when I try to boot the machine directly from the TrueNAS interface, it uses the parameter format -s 8:2,passthru,3/0/2, but iohyve uses only -s 8,passthru,3/0/2 (it does not use <slot>:<function>, but <slot> only).
I have run bhyve directly from the command line using the call listed in the log, but removing the function id and the virtual machine detects the interfaces correctly.
Is there any way to omit the function parameter from the TrueNAS interface?
My system is:
TrueNAS-13.0-U5.2
Intel Xeon E5-2650
16GB RAM ECC
4-port Intel I350 NIC
Regards,
Oscar