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.

IOMMU devices passed through and selected automatically?

Featured Replies

I'm new to VMs, having used unRaid for a couple of years now.

I've watched the 'beginner videos' by SpaceInvader on this subject, but I am puzzled by the results.

In the Bios I've enable XHCI for USB.

I've enable PCIe ACS override.

These are my IOMMU groupings for some of my USB controller / devices. 

image.thumb.png.ded3eb03d0b2996aa6d1b72e157b998e.png

 

You will notice that I' haven't select 1022:149c and my understanding is that I need to do this to bind it to VFIO. However, its still available to the VM, even if if I haven't selected it.

 

image.thumb.png.90a156fb551f345faff751cda9385899.png

I was having trouble starting the VM, because of the two lighting node cores having the same designations. I managed to get around this by selecting them using the BUS and Device ID, which I've posted about today.

However, I added them using XML. The tick boxes in the VM remain unticked. 

More importantly, if I ticked them in System's device manager to be bonded to the VFIO, they don't show up in device manager, nor do they show up in the VM as an option.

 

I have tried to find the answer to this, but its not obvious. I don't know if the reason they don't show up is because they're now hidden from unRaid, in which case how do I pass them to a particular VM?? If I leave them unselected in device manager then I would not expect them to be available to a VM.

So, I'm working with it, but its not clear to me how this works?

 

  • Community Expert
5 hours ago, Geck0 said:

I'm new to VMs, having used unRaid for a couple of years now.

I've watched the 'beginner videos' by SpaceInvader on this subject, but I am puzzled by the results.

In the Bios I've enable XHCI for USB.

I've enable PCIe ACS override.

These are my IOMMU groupings for some of my USB controller / devices. 

image.thumb.png.ded3eb03d0b2996aa6d1b72e157b998e.png

 

You will notice that I' haven't select 1022:149c and my understanding is that I need to do this to bind it to VFIO. However, its still available to the VM, even if if I haven't selected it.

 

image.thumb.png.90a156fb551f345faff751cda9385899.png

I was having trouble starting the VM, because of the two lighting node cores having the same designations. I managed to get around this by selecting them using the BUS and Device ID, which I've posted about today.

However, I added them using XML. The tick boxes in the VM remain unticked. 

More importantly, if I ticked them in System's device manager to be bonded to the VFIO, they don't show up in device manager, nor do they show up in the VM as an option.

 

I have tried to find the answer to this, but its not obvious. I don't know if the reason they don't show up is because they're now hidden from unRaid, in which case how do I pass them to a particular VM?? If I leave them unselected in device manager then I would not expect them to be available to a VM.

So, I'm working with it, but its not clear to me how this works?

 

mapping that device to vfio will alocate the whole usb controller to the vm.

 

bus and dev numbers can change. My plugin USB manager support same vendor and product ids and will auto hotplug without passing through a whole controller.

  • Author

Thanks, Simon. I've tried your USB plugin. I had some limited success, but can see the benefits, great work.

I've passed through the USB controllers for now, until I get to grips with how I plan to set up my VMs, I've currently only got one Windows 10 vm

 

 

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.