XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    PCI Passthough not working

    Scheduled Pinned Locked Moved Compute
    4 Posts 2 Posters 516 Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • lessfoobarL Offline
      lessfoobar
      last edited by

      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.

      1 Reply Last reply Reply Quote 0
      • olivierlambertO Offline
        olivierlambert Vates 🪐 Co-Founder CEO
        last edited by

        @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 😉

        lessfoobarL 1 Reply Last reply Reply Quote 1
        • lessfoobarL Offline
          lessfoobar @olivierlambert
          last edited by

          @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...

          1 Reply Last reply Reply Quote 0
          • olivierlambertO Offline
            olivierlambert Vates 🪐 Co-Founder CEO
            last edited by

            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, and xen-cmdline --delete-dom0 will remove them.

            1 Reply Last reply Reply Quote 1
            • First post
              Last post