I have a use case where I have some old, but still good hardware (A storage array) that is connected to the host by a PCI SCSI card. The drivers for the storage array unfortunately are RedHat specific. I thought I would try to spin up a CentOS guest, grant access to the SCSI card inside the container, and install the drivers there. I’m not entirely clear on how to go about this, so I have a few questions:
Would this even work? I gather some devices are not able to be passed to containers unless they have specific hardware support at the CPU/mobo level (IOMMU, VT-x, VT-D etc)
Should I be adding it as a device in the container profile? Should that be of type unix-char? And would the PCI address (03:08.0) be passed as major/minor? then the path would be /dev/scsi or something inside the container?
3: Should I also be adding all the block devices from the host to the container? And then do the requisite multipath configuration inside the container too? (sorry if I’m getting to much into the weeds here)