Passing a second SATA controller through to a VM

GreyAreaUK

New Member
Sep 11, 2026
1
0
1
East Yorkshire, England
Hi - sorry, I know this has been asked before but I can't seem to find a definitive solution.

Aim: to install under a Debian (probably) VM the Docker container 'Automatic Ripping Machine'.

My understanding is that for this to work I have to pass the optical drive through to the VM. But not just the drive - the controller it's attached to.

To that end I've purchased a second SATA controller and attached the optical drive to it. Here is the output for my IOMMU groups with the card in question highlighted:


iommu.jpg

As you can see it's in its own group, which I believe is required.

Here are the modules in use for the two SATA controllers:

modules.jpg

Here is the current contents of my /etc/modprobe.d/vfio.conf file:

vfio.jpg

(this is to pass through a GTX1050 card, and seems to be working)


However, if I add the SATA controller as a raw PCI device (with 'All functions' ticked):


VM Config.jpg

Proxmox goes unresponsive, in exactly the same way as it did when I passed the 'main' SATA controller through (which makes perfect sense because suddenly it had no disk drives)

IOMMU is enabled via the Grub config. I tried making /etc/modprobe.d/vfio.conf read:

Code:
options vfio-pci ids=10de:1c81,10de:0fb9 disable_vga=1
options vfio-pci ids=1b21:0612

to no avail.

I'm probably missing something obvious, but I've no idea what.

Any assistance would be welcome. It's not urgent in any way - it's purely a hobby project.

Many thanks.

PS - version 9.2.10
 
Last edited: