Hide devices by PCI address


Recommended Posts

Since you have now added an easier way of hiding devices and making it available to choose in a VM Template with the vfio-pci.ids=vendor:product, it would be nice to have something that also works for devices that have the same vendor/product id.

The use case for me is for forwarding of IPTV multicast, as I need one NIC connected to the IPTV port of the router and another for my local LAN. Pfsense use could also benefit from this, as well as easier pass through of onboard USB controllers.

I have tested this on the 6.2 beta21 and it works.

 

The solution is to use this in addition to vfio-pci.ids

 

xen-pciback.hide=(00:00.0)

 

This will bind the device to the pciback kernel module.

 

I don't know how easy this is to add to your code, but in my head it shouldn't be that hard  ;)

Link to comment
  • 1 year later...
  • 4 months later...

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...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.