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

2006-11-03 Thread Josh Elsasser
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 su

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

2006-10-25 Thread Josh Elsasser
On Wed, Oct 25, 2006 at 01:47:00PM +0200, Pascal Terjan wrote: > I recently sent a patch to add this for linux but then I thought of a > better way to do it. > I the TOC was stored in a struct somewhere, built when starting (or > changing media) using either .toc, .cue, real CD or maybe even a list

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

2006-10-25 Thread Pascal Terjan
On 10/24/06, Josh Elsasser <[EMAIL PROTECTED]> wrote: 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 T

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

2006-10-24 Thread Josh Elsasser
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 su