Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

PCIe Passtrough "None Available"

Featured Replies

10 minutes ago, SimonF said:

YES  but system drivers wil! create the file.

Came back from a reboot and the option is still not available to pass to the VM. 

I did notice if I expanded the view from "in use" to "all" drivers, the Common is listed in use as well. Im going to blacklist that as well, reboot and see if that helps.

image.thumb.png.c9581ed29defe486327b50483bb8ce6c.png

  • Replies 87
  • Views 8.4k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • Stop vm, Edit xml and change to XML view via the slider top right    Make a copy of the XML before changing. Creating diagnostics will have a copy of the xml in it also.  

  • Yes you can edit here /usr/local/emhttp/plugins/dynamix.vm.manager/include/libvirt_helpers.php   Around line 766 you could do this   if (in_array($arrMatch['id'], $arrBlacklistID

  • Thank You very much. This is working for me!

Posted Images

  • Community Expert
4 minutes ago, spotopolis said:

Came back from a reboot and the option is still not available to pass to the VM. 

I did notice if I expanded the view from "in use" to "all" drivers, the Common is listed in use as well. Im going to blacklist that as well, reboot and see if that helps.

image.thumb.png.c9581ed29defe486327b50483bb8ce6c.png

Does it show boumd to vfio on lspci -k?

21 minutes ago, SimonF said:

Does it show boumd to vfio on lspci -k?



image.thumb.png.7f599ae44801b5e9703eff1bd393e31b.png

After running lspci -k, I happened to scroll up and caught this up top. 


image.thumb.png.5e9b6c1384f7d8ba2f2ab400bd5d052c.png
It does not look like it is bound to vfio.


EDIT: This is what I am seeing in the VFIO-PCI log

image.thumb.png.3b46fad7f5da95da86fa05cf47e4dcfa.png

I dont understand because it looks like its bound to VFIO in the logs.

Edited by spotopolis

  • Community Expert
31 minutes ago, spotopolis said:



image.thumb.png.7f599ae44801b5e9703eff1bd393e31b.png

After running lspci -k, I happened to scroll up and caught this up top. 


image.thumb.png.5e9b6c1384f7d8ba2f2ab400bd5d052c.png
It does not look like it is bound to vfio.


EDIT: This is what I am seeing in the VFIO-PCI log

image.thumb.png.3b46fad7f5da95da86fa05cf47e4dcfa.png

I dont understand because it looks like its bound to VFIO in the logs.

try changing blacklist 

 

to blacklist qat_dh895xcc

26 minutes ago, SimonF said:

try changing blacklist 

 

to blacklist qat_dh895xcc

That resolved the errors at the top of the lspci -k output, but the device is still not showing as in use by vfio

image.thumb.png.e219440264c7df632317685ef9d8cc40.png

EDIT: brain fart. I just realized that the device would not show up as "in use" until it was attached to the VM and "IN USE", however, it is still not displayed as an option to add to the VM when I go to edit it.

Am I going to need to manually add it in the XML view again?

I dont believe that would work at this point though because I am still not seeing the QAT in 

image.thumb.png.6c3217350923deb4d2b36223ead56567.png

Edited by spotopolis

  • Community Expert
15 minutes ago, spotopolis said:

That resolved the errors at the top of the lspci -k output, but the device is still not showing as in use by vfio

image.thumb.png.e219440264c7df632317685ef9d8cc40.png

EDIT: brain fart. I just realized that the device would not show up as "in use" until it was attached to the VM and "IN USE", however, it is still not displayed as an option to add to the VM when I go to edit it.

Am I going to need to manually add it in the XML view again?

I dont believe that would work at this point though because I am still not seeing the QAT in 

image.thumb.png.6c3217350923deb4d2b36223ead56567.png

If you cannot get it bound to vfio you will need to do a manual edit. Will only show other pci devs if bound to vfio in gui.

12 minutes ago, SimonF said:

If you cannot get it bound to vfio you will need to do a manual edit. Will only show other pci devs if bound to vfio in gui.

Ill have to pick this up tomorrow if I am going to be editing the XML. I am away from home right now, so anytime I have rebooted my server, I have to wait for that VM to come back up to be able to connect to my VPN, to check the changes made. If I need to edit the XML, that means the VM is down, and I wont have a remote connection.

16 hours ago, SimonF said:

If you cannot get it bound to vfio you will need to do a manual edit. Will only show other pci devs if bound to vfio in gui.

I got back home and did a manual edit to the XML:

image.png.18a2be1a832bc5fdee8cb72e302ebe01.png

After saving the XML and trying to boot the VM, the VM would not boot and I got this error:
image.png.cafa260807758d22e591eec524b72626.png

37 is the correct IOMMU group

image.png.74d51ab61f08e12d97e9ed2f100f3d72.png

Edited by spotopolis

I undid everything and rebooted to start over from scratch thinking maybe something was done out of order causing the issue.

I started by just editing /boot/config/VMPCIOverride.cfg and adding to it "0000:83:00.0|8086:0435": 

image.png.83389a713b83271e71f4e95833a09744.png

image.png.835edcf9dbf336c515631c2e60418373.png

I then rebooted and checked if that made a difference on its own.

No. It did not.

So I then checked the corresponding box under Tools->System Devices:

image.thumb.png.aef38e7fe534ab0ff0ade9922832495b.png

and then verified that it was actually written to the file in /boot/config/vfio-pci.cfg:

(the other two devices are a dual port Intel NIC I have already passed to the VM successfully)

image.png.bd4be90e9b2f3708e0cdcf1dbbf025f3.png

Yes it is actaully showing up in the vfio-pci.cfg when the box is ticked in the GUI. So I rebooted once more after making that change.

This still did not allow me to add the QAT to the VM.

I then checked the VFIO-PCI log in Tools->System Devices.
At the top of the log, the device is being detected and has been bound to the vfio-pci, however, at the bottom of the log, I am only seeing the dual port Intel NIC that I have already passed though to the VM. The QuickAssist card is not showing up as listed in /sys/bus/pci/drivers/vfio-pci:

image.thumb.png.016ea1642bfc05b5b85cdeeee291b232.png

I went ahead and tried to add it to the VM XML again anyway:

1.png.32509005173dcb92aacc7cf8d41f0602.png

This is how it was added. I got the same error again about the device not being found. So I went back to edit the XML to revert the changes I made, and noticed the bus had changed from '0x00' to '0x04':

2.png.ecd1b16b0b0974139aaf578dc6013220.png

Im assuming this is referencing the VMs virtual bus that it is attached to, and not the physical bus on the host, correct?

I also checked the path for the IOMMU groups since I was getting the error that 37 did not exist:

image.png.4180065450fc07c7988f23e4b04429d8.png

Indeed only the dual port Intel NIC is showing up in that path and 37 for the QAT is not listed.

Edited by spotopolis

I did find this LINK in the Netgate documentation about this specific QAT device and the issues with VFIO-PCI checks. On their devices the drivers have the QAT on a denylist. Is it possible this is also in a denylist that can be overridden in Unraid?

 

  • Community Expert
1 hour ago, spotopolis said:

I did find this LINK in the Netgate documentation about this specific QAT device and the issues with VFIO-PCI checks. On their devices the drivers have the QAT on a denylist. Is it possible this is also in a denylist that can be overridden in Unraid?

 

Looks like to can add this option to the vfio driver and reboot.

 

options vfio-pci disable_denylist=1 

 

image.png

 

https://patchwork.kernel.org/project/linux-crypto/patch/[email protected]/

 

The reason in the post above seems to indicate that it may make the system unstable if you bind qat to vfio.

36 minutes ago, SimonF said:

Looks like to can add this option to the vfio driver and reboot.

 

options vfio-pci disable_denylist=1 

 

image.png

 

https://patchwork.kernel.org/project/linux-crypto/patch/[email protected]/

 

The reason in the post above seems to indicate that it may make the system unstable if you bind qat to vfio.

I just tried that, and I didn't see any difference after another reboot. 

 

I ran lspci -k and the card is still not binding to vfio-pci

  • Community Expert
33 minutes ago, spotopolis said:

I just tried that, and I didn't see any difference after another reboot. 

 

I ran lspci -k and the card is still not binding to vfio-pci

I dont have any more suggestions at this point.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.