Skip to contentSkip to conversation

QEMU being able to use audio cdroms

Qemu-devel Programmingkid 4 participants 5 messages Nov 25, 2015 – Dec 9, 2015

lore
Share & tools
lore
#0 lore raw

Is there any platform where a guest in QEMU can play an audio cd? If not, is this a feature that you would allow into QEMU?

#1 lore raw
Quoted 2 lines · Programmingkid

Is there any platform where a guest in QEMU can play an audio cd? If not, is this a feature that you would allow into QEMU?

I haven't tested it, nobody has ever asked. I wouldn't reject patches for such a feature, but I likely wouldn't make reviewing them a priority either.

I assume this would be primarily for emulating games/etc that use mixed Data/Audio formats?

--js

#2 lore raw
Quoted 6 lines · John Snow
Quoted 2 lines · Programmingkid

Is there any platform where a guest in QEMU can play an audio cd? If not, is this a feature that you would allow into QEMU?

Quoted 6 lines

I haven't tested it, nobody has ever asked. I wouldn't reject patches for such a feature, but I likely wouldn't make reviewing them a priority either.

I assume this would be primarily for emulating games/etc that use mixed Data/Audio formats?

That could be one reason to do it. I just thought it would be neat to be able to play CDs inside a guest.

#3 lore raw

Hi,

Quoted 9 lines · Programmingkid
Quoted 6 lines · John Snow
Quoted 2 lines · Programmingkid

Is there any platform where a guest in QEMU can play an audio cd? If not, is this a feature that you would allow into QEMU?

Quoted 8 lines
Quoted 6 lines

I haven't tested it, nobody has ever asked. I wouldn't reject patches for such a feature, but I likely wouldn't make reviewing them a priority either.

I assume this would be primarily for emulating games/etc that use mixed Data/Audio formats?

That could be one reason to do it. I just thought it would be neat to be able to play CDs inside a guest.

Yeah, I saw a demo with cd-rom redirection working, but in an older version of QEMU (1.7.2). It even has spice support.

Not sure what changes are necessary to make it work upstream. You can check cdrom branches here [0]

CCing Marc-Andre that sent the patches and Pavel which was working on rebasing this.

[0] http://cgit.freedesktop.org/~pgrunt/

cheers,
Victor Toso

#4 lore raw
In reply to Programmingkid
Quoted 8 lines · Programmingkid
Quoted 6 lines

I haven't tested it, nobody has ever asked. I wouldn't reject patches for such a feature, but I likely wouldn't make reviewing them a priority either.

I assume this would be primarily for emulating games/etc that use mixed Data/Audio formats?

That could be one reason to do it. I just thought it would be neat to be able to play CDs inside a guest.

It might work if you use a SCSI controller and "-device scsi-generic". At least I could burn CDs a few years ago.

Of course, the audio would come directly out of the computer speakers, without going through QEMU's backends.

Paolo