I have a USB CD-Drive around now.
I started with the snippet as in comment #6 which will add the CD as:
-drive file=/dev/sr0,format=raw,if=none,id=drive-ide0-0-1,readonly=on

With that on boot in the log I see:
Domain id=7 is tainted: cdrom-passthrough

$ cdrdao disk-info /dev/sr0
Host
/dev/sr0: HL-DT-ST BD-RE  BE14NU40      Rev: 1.00
Using driver: Generic SCSI-3/MMC - Version 2.0 (options 0x0000)
Toc Type             : CD-DA or CD-ROM

Guest:
/dev/sr0: QEMU QEMU DVD-ROM     Rev: 2.5+
Using driver: Generic SCSI-3/MMC - Version 2.0 (options 0x0000)
Toc Type             : CD-DA or CD-ROM

Well that seemed the same, but I found that the guest does not "update" when I 
change the disk.
Switching tools to something that actually reads instead of using caches.

Host
$ cd-info /dev/sr0
Vendor                      : HL-DT-ST
Model                       : BD-RE  BE14NU40 
Revision                    : 1.00
Hardware                                  : CD-ROM or DVD
[...]
  Can read CD-DA                          : Yes


Guest:
Vendor                      : QEMU    
Model                       : QEMU DVD-ROM    
Revision                    : 2.5+
Error in getting drive hardware properties
Error in getting drive reading properties
Error in getting drive writing properties

Hmm, not all capabilties on the qemu driver?


When reloading with the Audio Disc I see that the qemu access has issues 
accessing on top of the HW caps I see:
"Media Catalog Number (MCN): not supported by drive/driver"
[...]
CD-ROM with unknown filesystem

-- 
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

Reply via email to