The closest I got was with virtio-scsi
I had some hope it would pass more, but IIRC at least in the past
(https://bugzilla.redhat.com/show_bug.cgi?id=760885#c4) the driver should still
be the same.
<disk type='block' device='cdrom'>
<driver name='qemu' type='raw' cache='directsync' io='native'/>
<source dev='/dev/sr0'/>
<target dev='sdc' bus='scsi'/>
<readonly/>
<address type='drive' controller='0' bus='0' target='0' unit='2'/>
</disk>
<controller type='scsi' index='0' model='virtio-scsi'>
<address type='pci' domain='0x0000' bus='0x00' slot='0x07'
function='0x0'/>
</controller>
Here at least the device capabilities seem good:
$ cd-info
Model : QEMU CD-ROM
Revision : 2.5+
[...]
Can play audio : Yes
Can read CD-DA : Yes
Can read CD-R : Yes
Can read CD-RW : Yes
Also the tracks are better but not good now:
CD-ROM Track List (1 - 1)
#: MSF LSN Type Green? Copy?
1: 00:02:00 000000 data false no
170: 58:20:56 262406 leadout (588 MB raw, 512 MB formatted)
Because what follows is:
Media Catalog Number (MCN): :8
Last CD Session LSN: 0
__________________________________
CD Analysis Report
CD-ROM with unknown filesystem
But should look like:
CD-ROM Track List (1 - 9)
#: MSF LSN Type Green? Copy? Channels Premphasis?
1: 00:02:00 000000 audio false no 2 no
2: 06:13:10 027835 audio false no 2 no
3: 11:57:33 053658 audio false no 2 no
4: 18:21:19 082444 audio false no 2 no
5: 25:53:23 116348 audio false no 2 no
6: 34:13:28 153853 audio false no 2 no
7: 39:00:39 175389 audio false no 2 no
8: 44:56:37 202087 audio false no 2 no
9: 51:27:11 231386 audio false no 2 no
170: 58:20:56 262406 leadout (588 MB raw, 588 MB formatted)
Media Catalog Number (MCN): 0000000000000
TRACK 1 ISRC: DENC11600285
" 1: 00:02:00 000000 data false no "
So it is still detected as data in the guest.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1390520
Title:
virtual machine fails to start with connected audio cd
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1390520/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs