PCI Passthough not working
-
I've been following the tutorial for pci passthrough on the wiki but it dosnt' work for me.
03:00.0 Ethernet controller: Broadcom Inc. and subsidiaries NetXtreme II BCM57810 10 Gigabit Ethernet (rev 10) 03:00.1 Ethernet controller: Broadcom Inc. and subsidiaries NetXtreme II BCM57810 10 Gigabit Ethernet (rev 10) 04:00.0 Ethernet controller: Intel Corporation I350 Gigabit Network Connection (rev 01) 04:00.1 Ethernet controller: Intel Corporation I350 Gigabit Network Connection (rev 01) 04:00.2 Ethernet controller: Intel Corporation I350 Gigabit Network Connection (rev 01) 04:00.3 Ethernet controller: Intel Corporation I350 Gigabit Network Connection (rev 01) 07:00.0 Ethernet controller: Intel Corporation 82576 Gigabit Network Connection (rev 01) 07:00.1 Ethernet controller: Intel Corporation 82576 Gigabit Network Connection (rev 01) # those are all the network devices that will be passed through pfsense vm. /opt/xensource/libexec/xen-cmdline --set-dom0 "xen-pciback.hide=(0000:03:00.0)(0000:03:00.1)(0000:04:00.0)(0000:04:00.1)(0000:04:00.2)(0000:04:00.3)(0000:07:00.0)" # no output of the command /opt/xensource/libexec/xen-cmdline --delete-dom0 xen-pciback.hide # no output of the command reboot xl pci-assignable-list # empty
So yeah I'm on step 4 and I can't continue because the devices don't show up after reboot.
-
@lessfoobar said in PCI Passthough not working:
/opt/xensource/libexec/xen-cmdline --delete-dom0 xen-pciback.hide
This command will basically remove everything you did before. So don't use it if you want to keep your parameters added to Xen and then reboot
-
@olivierlambert thanks for the feedback. I guess I understood the documentation wrong. Because I remember how Wendell from level1techs was talking about removing the ethernet devices from dom0...
-
xen-pciback.hide
is precisely removing the devices from the Dom0.However,
xen-cmdline --delete-dom0
will actually REMOVE the parameters you entered in the grub configuration file.In other words,
xen-cmdline
is a helper tool to edit Grub configuration file for Xen and Linux arguments (on boot).As it's written,
xen-cmdline --set-dom0
will actually set parameters for the dom0, andxen-cmdline --delete-dom0
will remove them.