qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [patch] TOC support for raw cdrom block devices


From: Josh Elsasser
Subject: [Qemu-devel] [patch] TOC support for raw cdrom block devices
Date: Mon, 23 Oct 2006 12:30:52 -0700
User-agent: Mutt/1.5.13 (2006-08-11)

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: pgpSCEjqvcuuY.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]