August 9, 20187 yr I'm trying to have a windows vm as my daily driver. I can't find the video or forum link I found months ago that showed how to add a cdrom by editing the xml ( or by any other simple way). IOMMU group 26: [1b4b:9172] 09:00.0 SATA controller: Marvell Technology Group Ltd. 88SE9172 SATA 6Gb/s Controller (rev 11) SCSI Devices [9:0:0:0] cd/dvd HL-DT-ST DVDRAM GH22NS50 TN03 /dev/sr0 I have the drive connected with a sata pcie 4 port card and is listed as a scsi device. Can someone please advise me of the next steps Thanks Edited August 18, 20187 yr by ksculland [solved]
August 18, 20187 yr Author https://www.reddit.com/r/unRAID/comments/49isga/optical_drive_passthrough/ I found this reddit post. So the answer is edit you windows VM xml, find where it says <devices> then insert the xml from below: <controller type='scsi' index='0' model='virtio-scsi'/> <hostdev mode='subsystem' type='scsi'> <source> <adapter name='scsi_host5'/> <address type='scsi' bus='0' target='0' unit='0'/> </source> <readonly/> <address type='drive' controller='0' bus='0' target='0' unit='0'/> </hostdev> SCSI Devices (found under Tools => System Devices)[9:0:0:0] cd/dvd HL-DT-ST DVDRAM GH22NS50 TN03 /dev/sr0 Since my cdrom is listed as [9:0:0:0] scsi_host5 needs to be change to scsi_host9 Then save and launch your vm. Go to device manager, you should now have a new device, SCSI Controller, update its driver by pointing it to the virtio-win. Once completed, your cdrom device will now be usable.
Archived
This topic is now archived and is closed to further replies.