qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [patch] TOC support for raw cdrom block devices
@ 2006-10-23 19:30 Josh Elsasser
  2006-10-23 19:34 ` [Qemu-devel] " Josh Elsasser
  0 siblings, 1 reply; 2+ messages in thread
From: Josh Elsasser @ 2006-10-23 19:30 UTC (permalink / raw)
  To: qemu-devel

[-- Attachment #1: Type: text/plain, Size: 714 bytes --]

The current raw block drvice code fakes a TOC with one track covering
the entire disc.  With this patch it attempts to read the TOC from a
cdrom device and make that information available to the ide driver
when the guest issues an ATAPI READ TOC/PMA/ATIP type 0 (read TOC)
command.

There is only support for reading the TOC on the BSDs, MacOS X, and
Linux, Win32 and other OSes will still fake one large data track.  All
tracks are reported as data, no attempt was made to support audio
tracks.  The ATAPI READ TOC/PMA/ATIP type 2 (read full TOC) command is
unchanged, I did not have a way of testing it.

The purpose of this patch, in case anyone was wondering, was to get
the BeOS R5 CD booting in qemu.

 -jre

[-- Attachment #2: Type: application/pgp-signature, Size: 187 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-10-23 19:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-23 19:30 [Qemu-devel] [patch] TOC support for raw cdrom block devices Josh Elsasser
2006-10-23 19:34 ` [Qemu-devel] " Josh Elsasser

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).