PCI device doesn't show in XO or xe pci-list
-
@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? -
No, you can pass it anyway, it's just not doable via XO. But the CLI method should work
-
@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
-
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)
-
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.
windows host showing usb drive plugged into usb3 card and graphics card.
-
Perfect! It's just a matter of stuff hidden for some reasons, at least it doesn't cause any problem, which is what matters
-
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!
-
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]"
-
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.
-
so it seems like when i make the igpu pass through, i see the starting lines of xcp-ng but it never gets to the console screen. which is what i expect.
When I add the pcie devices (igpu/hdmi audio) to a vm and start it up, I get and update to the screen and it shows a red number counting which is part of the console.
So it seems that when the VM re-initializes the igpu, dom/xcp retakes it over.
I confirmed that by using the keyboard to move around and it reshowing the console and filling the missing details as i move around.
So why is the dom/xcp retaking the video device over again when it should be blocked from accessing it?