QEMU is not correctly detecting host CDs

Bug #588691 reported by Natalia Portillo
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
QEMU
Fix Released
Undecided
Unassigned

Bug Description

QEMU's block layer contains code for detecting and using ioctls when real CD-ROM host devices are attached.

This detection is not working in some host OSes while bad implemented on anothers.

E.g., in Linux host qemu -cdrom /dev/sr0 is not detecting it as a CD-ROM
E.g., in Mac OS X host qemu asks the kernel to enumerate optical devices and the compares it to the constant string "/dev/cdrom". This is useless, that enumeration is just enough, and "/dev/cdrom" will NEVER exist in Mac OS X unless manually created by the user.

Changed in qemu:
assignee: nobody → Natalia Portillo (claunia)
Changed in qemu:
status: New → In Progress
Revision history for this message
Cole Robinson (crobinso) wrote :

The linux /dev/sr0 issue should be fixed upstream:

http://git.savannah.gnu.org/cgit/qemu.git/commit/?id=3baf720e6b920d583ce2834d05e5a4e9603a1d56

Maybe it's worth a backport to stable

John Snow (jnsnow)
Changed in qemu:
assignee: Natalia Portillo (claunia) → John Snow (jnsnow)
Revision history for this message
Thomas Huth (th-huth) wrote :

Looking through old bug tickets... can you still reproduce this issue with the latest version of QEMU? Or could we close this ticket nowadays?

Changed in qemu:
status: In Progress → Incomplete
assignee: John Snow (jnsnow) → nobody
Revision history for this message
John Arbuckle (programmingkidx) wrote :

I use real CD-ROM disc in Mac OS and Windows guests on my Mac OS 10.12 host. I have to run QEMU in root mode using the sudo command in order to access the CD-ROM drive. So I know QEMU's support for using real optical media on Mac OS hosts does work.

Revision history for this message
Thomas Huth (th-huth) wrote :

OK, thanks for the confirmation, John, so seems like this bug has been fixed in the past and we can close it now.

Changed in qemu:
status: Incomplete → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.