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.

Help with UnRaid: Issue with Passthrough of Intel Ethernet Card in VM

Featured Replies

Good evening, everyone.
I have a problem with my UnRaid server when passing through an Intel Ethernet card to a VM.

The following error message appears when I start the VM with passthrough:
 

qemu-system-x86_64: -device {"driver":"vfio-pci","host":"0000:03:00.0","id":"hostdev0","bus":"pci.4","addr":"0x0"}: vfio 0000:03:00.0: failed to setup container for group 49: Failed to set group container: Operation not permitted 2024-12-30 23:07:35.787+0000: shutting down, reason=failed


When I start the VM without passthrough, it starts without any issues.

 

I have already tested the following settings:

PCIe ACS override: All 3 options

VFIO allow unsafe interrupts: Yes / No

IOMMU: Enabled in BIOS

 

My hardware:

HP ProLiant DL380e Gen8

System ROM: P73 05/24/2019

Ethernet card passed to the VM: Intel 82571EB/82571GB Gigabit Ethernet Controller D0/D1


I have attached a screenshot and the VM log for reference.

Can anyone help me?

Screenshot 2024-12-31 002210.png

VM_Log.txt

  • Community Expert
3 minutes ago, bsstudios said:

Good evening, everyone.
I have a problem with my UnRaid server when passing through an Intel Ethernet card to a VM.

The following error message appears when I start the VM with passthrough:
 

qemu-system-x86_64: -device {"driver":"vfio-pci","host":"0000:03:00.0","id":"hostdev0","bus":"pci.4","addr":"0x0"}: vfio 0000:03:00.0: failed to setup container for group 49: Failed to set group container: Operation not permitted 2024-12-30 23:07:35.787+0000: shutting down, reason=failed


When I start the VM without passthrough, it starts without any issues.

 

I have already tested the following settings:

PCIe ACS override: All 3 options

VFIO allow unsafe interrupts: Yes / No

IOMMU: Enabled in BIOS

 

My hardware:

HP ProLiant DL380e Gen8

System ROM: P73 05/24/2019

Ethernet card passed to the VM: Intel 82571EB/82571GB Gigabit Ethernet Controller D0/D1


I have attached a screenshot and the VM log for reference.

Can anyone help me?

Screenshot 2024-12-31 002210.png

VM_Log.txt 5.08 kB · 0 downloads

Can you provide info on iommu group 49 from system devices, have you included all devices in that group?

  • Author
5 minutes ago, SimonF said:

Can you provide info on iommu group 49 from system devices, have you included all devices in that group?

I have attached screenshots of the VM configuration and the IOMMU groups

Screenshot 2024-12-31 004852.png

Screenshot 2024-12-31 004933.png

  • Author
1 minute ago, bsstudios said:

I have attached screenshots of the VM configuration and the IOMMU groups

Screenshot 2024-12-31 004852.png

Screenshot 2024-12-31 004933.png

UNRAID OS : 

kernel /bzimage
append vfio_iommu_type1.allow_unsafe_interrupts=1 iommu=pt intel_iommu=on intremap=no_x2apic_optout pcie_acs_override=downstream,multifunction initrd=/bzroot

  • Community Expert
9 hours ago, bsstudios said:

UNRAID OS : 

kernel /bzimage
append vfio_iommu_type1.allow_unsafe_interrupts=1 iommu=pt intel_iommu=on intremap=no_x2apic_optout pcie_acs_override=downstream,multifunction initrd=/bzroot

So do you get the same error message with PCI ACS override turned off. I would say you don't need as card should be in its own group with both ports.

 

Unless you need for other reasons try also with out unsafe ints.

  • Author

 

1 hour ago, SimonF said:

So do you get the same error message with PCI ACS override turned off. I would say you don't need as card should be in its own group with both ports.

 

Unless you need for other reasons try also with out unsafe ints.

Now it works! I can pass through both cards to the router and use them.

Thank you for the quick help!

All the best for 2025!

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.