From: Paolo Bonzini <pbonzini@redhat.com>
To: Erik Lotspeich <erik@lotspeich.org>
Cc: kvm@vger.kernel.org
Subject: Re: Attaching audio CD to VM instance
Date: Fri, 03 Aug 2012 09:06:25 +0200 [thread overview]
Message-ID: <501B7871.9010905@redhat.com> (raw)
In-Reply-To: <501AE130.3030407@lotspeich.org>
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
prev parent reply other threads:[~2012-08-03 7:06 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-02 20:21 Attaching audio CD to VM instance Erik Lotspeich
2012-08-03 7:06 ` Paolo Bonzini [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=501B7871.9010905@redhat.com \
--to=pbonzini@redhat.com \
--cc=erik@lotspeich.org \
--cc=kvm@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.