BluRay Guest OS Support

ferociousmilkyway

Well-Known Member
Aug 2, 2018
42
2
48
113
Hello,

I'm curious what type of config is needed to get a BluRay drive supported in a guest OS (can't play movies with VLC in Windows).

I've search through the forums, and this doesn't look like a common question (two posts), there was some question, years ago, weather QEMU supported this, but by the looks of discussions at Limetech, they have it working in Unraid.

Here's some different configs I've tried for just the BluRay player

qm set 100 -sata1/dev/disk/by-id/XXX,media=cdrom
qm set 100 -sata2 /dev/disk/by-id/XXX,media=cdrom

qm set 103 -scsi1 /dev/disk/by-id/XXX,media=cdrom,iothread=1
qm set 103 -scsi2 /dev/disk/by-id/XXX,media=cdrom,iothread=1

qm set 103 -scsi1 /dev/disk/by-id/XXX,media=cdrom,scsiblock=1,iothread=1
qm set 103 -scsi2 /dev/disk/by-id/XXX,media=cdrom,scsiblock=1,iothread=1

qm set 103 -sata1 /dev/disk/by-id/XXX,media=cdrom
qm set 103 -sata2 /dev/disk/by-id/XXX,media=cdrom

qm set 103 -ide1 /dev/disk/by-id/XXX,media=cdrom
qm set 103 -ide2 /dev/disk/by-id/XXX,media=cdrom

Here's my general VM Config


balloon: 0
bios: ovmf
bootdisk: scsi0
cores: 16
cpu: host,flags=+pcid;+spec-ctrl
efidisk0: local-zfs:vm-103-disk-2,size=128K
machine: q35
memory: 8096
name: Windows10Dev
net0: virtio=XXX,bridge=vmbr0
numa: 1
ostype: win10
scsi0: local-zfs:vm-103-disk-1,cache=writeback,iothread=1,size=32G
scsihw: virtio-scsi-single
smbios1: uuid=XXX
sockets: 2

Thanks for this great OS, and any help is appreciated!
 
I don't have access to unraid, but I have been reading their forums on the topic. I read this earlier, but I'm unsure how to translate their XML to proxmox.

<controller type='scsi' index='1' model='virtio-scsi'/>
<hostdev mode='subsystem' type='scsi'>
<source>
<adapter name='scsi_host9'/>
<address type='scsi' bus='0' target='0' unit='0'/>
</source>
<readonly/>
<address type='drive' controller='1' bus='0' target='0' unit='0'/>
</hostdev>

This is from this thread, 2016: 46887-passthrough-optical-drives on Limetech's forum (can't post links as new user)

I'm looking for something more recent. Thanks for your time!
 
Yes, I read that thread and this is just a scsi passthrough. Have you tried to use the "use physical cd/dvd drive" option in PVE?
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!