Sign in to follow this  
ksculland

[solved] Windows 10 VM add CDROM xml

2 posts in this topic Last Reply

Recommended Posts

Posted (edited)

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 by ksculland
[solved]

Share this post


Link to post

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.

 

1392734676_DeviceManagerSCSI.PNG.331e2fc6072d843b89858fcba19129d9.PNG421644454_SCSIUpdated.PNG.5e1be878b37cf836d9bf3bba6209ca41.PNG1166339712_DeviceManagerSCSI-after.PNG.5b1c9a78e5431be76842169d9d37ac37.PNGCDROM.PNG.d0b35b98c1d2b18c0809153f80f7e8c7.PNG

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  


Copyright © 2005-2018 Lime Technology, Inc.
unRAID® is a registered trademark of Lime Technology, Inc.