Re: [Qemu-devel] [PATCH] SCSI passthrough: DVD support

2008-01-06 Thread Laurent Vivier
Le dimanche 06 janvier 2008 à 19:47 +0100, Fabrice Bellard a écrit : > Can you explain why you use the block layer (block-raw-posix.c) to send > your low level SCSI commands ? only because it uses asynchrones AIO and I don't want to rewrite block-raw-posix.c for this special case. > I suggest to

Re: [Qemu-devel] [PATCH] SCSI passthrough: DVD support

2008-01-06 Thread Fabrice Bellard
Can you explain why you use the block layer (block-raw-posix.c) to send your low level SCSI commands ? I suggest to remove your patches to block-raw-posix.c and to implement all the SCSI passthough in scsi-generic.c. Regards, Fabrice. Laurent Vivier wrote: > This patch allows to use SCSI passthr

[Qemu-devel] [PATCH] SCSI passthrough: DVD support

2008-01-06 Thread Laurent Vivier
This patch allows to use SCSI passthrough to read movies from DVD. It has been tested with PowerDVD and XP. It also introduces some comments in block-raw-posix.c to explain behavior of negative offset and negative nb_sectors. It restores original value of aio_num and aio_threads. Laurent --- blo