* Attaching audio CD to VM instance
@ 2012-08-02 20:21 Erik Lotspeich
2012-08-03 7:06 ` Paolo Bonzini
0 siblings, 1 reply; 2+ messages in thread
From: Erik Lotspeich @ 2012-08-02 20:21 UTC (permalink / raw)
To: kvm
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Attaching audio CD to VM instance
2012-08-02 20:21 Attaching audio CD to VM instance Erik Lotspeich
@ 2012-08-03 7:06 ` Paolo Bonzini
0 siblings, 0 replies; 2+ messages in thread
From: Paolo Bonzini @ 2012-08-03 7:06 UTC (permalink / raw)
To: Erik Lotspeich; +Cc: kvm
Il 02/08/2012 22:21, Erik Lotspeich ha scritto:
> 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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-08-03 7:06 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-02 20:21 Attaching audio CD to VM instance Erik Lotspeich
2012-08-03 7:06 ` Paolo Bonzini
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).