Pass through a host DVD Drive


Recommended Posts

On 6/21/2020 at 4:26 AM, Germanus4711 said:

I had some success with the following inserted into the <disk> section:

<disk type='block' device='cdrom'>
  <driver name='qemu' type='raw'/>
  <source dev='/dev/sr0'/>
  <target dev='hdg' bus='sata'/>
  <readonly/>
</disk>

Given that lsscsi revealed:
[4:0:0:0]    cd/dvd  TSSTcorp DVDWBD SH-B123L  SB04  /dev/sr0 

I confirm it works for me as well. Thanks

And I didn't need the lsscsi command as I could find the correct information from the Tools menu and System Devices

image.thumb.png.e87491cdc6c31129206d2edc16367263.png

Link to comment
  • 2 months later...

Hello, unfortunately I also have the problem that my drive is detected in Windows Device Manager as an unknown SCSI device and I can't install the appropriate driver. What am I doing wrong?

 

<hostdev mode='subsystem' type='scsi' managed='no'>
  <source>
   <adapter name='scsi_host6'/>
   <address bus='0' target='0' unit='0'/>
  </source>
  <readonly/>
  <address type='drive' controller='0' bus='0' target='0' unit='0'/>
</hostdev>

 

image.png.6ecdc1ac3d3ce09b1b30fe1226b0efe0.png

Edited by Pixelpaule
Link to comment

After I have looked at everything again in peace, it has finally worked. My two Blu ray drives, which are connected to the mainboard via SATA, are now also recognized in freshly set up VMs. I made the mistake all the time and forgot the following line:

<controller type='scsi' index='0' model='virtio-scsi'/>

 

  • Like 1
Link to comment
  • 1 year later...
On 6/20/2020 at 10:56 PM, Germanus4711 said:

I had some success with the following inserted into the <disk> section:

<disk type='block' device='cdrom'>
  <driver name='qemu' type='raw'/>
  <source dev='/dev/sr0'/>
  <target dev='hdg' bus='sata'/>
  <readonly/>
</disk>

Given that lsscsi revealed:
[4:0:0:0]    cd/dvd  TSSTcorp DVDWBD SH-B123L  SB04  /dev/sr0 

 

I can confirm this is the solution worked for me

 

Thanks alot for saving hours of troubleshooting. 

Edited by Moriarty
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.