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

    PCI device doesn't show in XO or xe pci-list

    Scheduled Pinned Locked Moved Compute
    25 Posts 6 Posters 412 Views 6 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.
    • olivierlambertO Offline
      olivierlambert Vates 🪐 Co-Founder CEO @marcoi
      last edited by

      @marcoi Right now it's hard coded. But we'll see what could be the best approach on this 🙂

      marcoiM 1 Reply Last reply Reply Quote 0
      • marcoiM Offline
        marcoi @olivierlambert
        last edited by

        @olivierlambert thanks for the update.
        and just to confirm, if a device is not showing up in xe list with uuid, there is no way to pass it to a VM correct?

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

          No, you can pass it anyway, it's just not doable via XO. But the CLI method should work 🙂

          marcoiM 1 Reply Last reply Reply Quote 0
          • marcoiM Offline
            marcoi @olivierlambert
            last edited by

            @olivierlambert to confirm the steps
            i can skip this step since it isnt showing up anyways

            • xe pci-disable-dom0-access uuid=<pci uuid>

            then use

            • xe vm-param-set other-config:pci=0/0000:04:01.0 uuid=<vm uuid> to add it to vm
            1 Reply Last reply Reply Quote 0
            • olivierlambertO Offline
              olivierlambert Vates 🪐 Co-Founder CEO
              last edited by olivierlambert

              That might work indeed. If it doesn't, you'll have to go via the old method:

              /opt/xensource/libexec/xen-cmdline --set-dom0 "xen-pciback.hide=(0000:04:01.0)"
              

              Please let us know 🙂 (this way we could update the doc)

              marcoiM 1 Reply Last reply Reply Quote 0
              • marcoiM Offline
                marcoi @olivierlambert
                last edited by

                @olivierlambert

                xe vm-param-set other-config:pci=0/0000:c6:00.0 uuid=45d0f537-9076-b395-1fbd-850d2cc0cf68

                This command worked. I was able to pass through the usb and also pcie devices i can get to using XO.

                3555b351-e13d-478d-9df4-7bbcb1643909-image.png

                windows host showing usb drive plugged into usb3 card and graphics card.

                b6f55d15-9e66-4606-8a37-7593e3068d3a-image.png

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

                  Perfect! It's just a matter of stuff hidden for some reasons, at least it doesn't cause any problem, which is what matters 🙂

                  1 Reply Last reply Reply Quote 1
                  • C Offline
                    chicagomed @andSmv
                    last edited by

                    @andSmv

                    From LSPCI:

                    0a:00.0 Audio device: Intel Corporation DG2 Audio Controller
                    0b:00.0 VGA compatible controller: Intel Corporation DG2 [Arc A310] (rev 05)
                    

                    With xl pci-assignable-list :

                    0000:01:00.6
                    0000:01:00.4
                    0000:0b:00.0
                    0000:01:00.0
                    0000:01:00.3
                    
                    

                    Here you go...hope this helps!

                    1 Reply Last reply Reply Quote 1
                    • P Offline
                      Pyroteq @andriy.sultanov
                      last edited by

                      @andriy.sultanov

                      09:00.0 "Multimedia video controller [0400]" "Conexant Systems, Inc. [14f1]" "CX23887/8 PCIe Broadcast Audio and Video Decoder with 3D Comb [8880]" -r04 "Hauppauge computer works Inc. [0070]" "Device [6a28]"

                      0a:00.0 "Multimedia video controller [0400]" "Conexant Systems, Inc. [14f1]" "CX23887/8 PCIe Broadcast Audio and Video Decoder with 3D Comb [8880]" -r04 "Hauppauge computer works Inc. [0070]" "Device [6b28]"

                      1 Reply Last reply Reply Quote 1
                      • marcoiM Offline
                        marcoi
                        last edited by

                        is there anyway to block igpu from being used by xcp-ng during boot? I have it setup for pass through but it fails under the VM. I think it because xcp-ng still displaying the console screen and does not want to give it up.

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