PCI device doesn't show in XO or xe pci-list
-
@andriy.sultanov is there a way to allow all devices (even if we blow up the system lol)
For example in the docs there a usb filter list you can edit
/etc/xensource/usb-policy.confanything similar for pcie? Can something be added with disclaimer you break it on you etc?
Maybe make it a command line option to disable the pci device filters for users that want to pass through special devices. -
@marcoi Right now it's hard coded. But we'll see what could be the best approach on this
-
@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.