Hi there. I want to do something similar, but instead of passing through a single CD-Rom drive, I want to pass through a single SATA port, which is connected to an external bay, which will be using different hard drives (which is why I don't want to pass it by unique hard drive UUID, which is the alternate method).
You see, this server has an external hard drive connector bay that I have been using as a way to dock hard drives of service PCs I use to image the drive with Macrium Reflect. So passing through a hard drive by UUID when a new hard drive is less ideal than just passing a SATA port (which is what you do, but on an optical drive).
However, I'm using a Windows 10 vm to test this and I can't seem to pass the hard drive to it. I need some help: Where do you exactly paste this particular piece of text? Anywhere on the configuration XML? Or does it need to live in a specific place (let's say, inside the <device> </device> part of the XML? between the <controller> tags existing in there, anywhere else, so on and so forth?
I only get the "unidentified SCSI controller" and the VirtIO drivers don't work. My computer doesn't have IOMMU support, but I don't know if that matters in this case.
Thank you in advance for your help.