Jump to content
Sign in to follow this  

[solved] Windows 10 VM add CDROM xml

2 posts in this topic Last Reply

Recommended Posts

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



Edited by ksculland

Share this post

Link to post



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'>
        <adapter name='scsi_host5'/>
        <address type='scsi' bus='0' target='0' unit='0'/>
      <address type='drive' controller='0' bus='0' target='0' unit='0'/>


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.



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