Re: [Qemu-devel] [PATCH 0/5] SCSI passthrough cleanup

2008-01-24 Thread Laurent Vivier
Le mercredi 23 janvier 2008 à 21:52 +0100, Fabrice Bellard a écrit : > Two questions: > > - Why do you use AIO ? If the Linux sg device supports selects, then > using the QEMU select() callback suffices. Basically because when I want to have asynchronous I/O I use AIO... If you explain me briefly

Re: [Qemu-devel] [PATCH 0/5] SCSI passthrough cleanup

2008-01-23 Thread Fabrice Bellard
Two questions: - Why do you use AIO ? If the Linux sg device supports selects, then using the QEMU select() callback suffices. - Why do you use a block device ? Regards, Fabrice. Laurent Vivier wrote: > This series of patches makes some cleanups in SCSI passthrough and > add functionnalities.

[Qemu-devel] [PATCH 0/5] SCSI passthrough cleanup

2008-01-23 Thread Laurent Vivier
This series of patches makes some cleanups in SCSI passthrough and add functionnalities. [PATCH 1/5] reverse scsi-generic Reverse previous implementation and restore block-raw-posix.c. [PATCH 2/5] Move AIO This patche moves raw AIO part from block-raw-posix.c to qemu-aio-raw.c. [PATCH 3/5] Ad