Attaching audio CD to VM instance
Hi,
I haven't seen this question asked before. Is it possible to mount an audio CD is a "raw" mode to that a VM instance can access the audio tracks as if it were a physical CD-ROM drive? It seems that the current implementation presents a CD-ROM to the VM, not CD-DA.
Thanks!
Regards
Erik
Paolo Bonzini
maintainerIl 02/08/2012 22:21, Erik Lotspeich ha scritto:
Quoted 6 lines
Hi,
I haven't seen this question asked before. Is it possible to mount an audio CD is a "raw" mode to that a VM instance can access the audio tracks as if it were a physical CD-ROM drive? It seems that the current implementation presents a CD-ROM to the VM, not CD-DA.
You can do this with SCSI pass-through. With QEMU you can use this command line:
-device virtio-scsi-pci
-drive if=none,file=/dev/sr0,id=sr0
-device scsi-block,drive=sr0
if you have a new enough guest (Linux 3.4+ or Fedora 16 or RHEL6.3 or clones). Older guests can use "-device lsi" instead.
Paolo