Re: [Qemu-devel] [PATCH 12/12] raw-win32: add emulated AIO support

2012-07-23 Thread Paolo Bonzini
Il 23/07/2012 18:35, Blue Swirl ha scritto: >> > +struct qemu_paiocb { > QEMUPAIOCB RawWin32AIOData. :) >> > +BlockDriverState *bs; >> > +HANDLE hfile; >> > +struct iovec *aio_iov; >> > +int aio_niov; >> > +size_t aio_nbytes; >> > +off_t aio_offset; >> > +int aio_type;

Re: [Qemu-devel] [PATCH 12/12] raw-win32: add emulated AIO support

2012-07-23 Thread Blue Swirl
On Mon, Jul 16, 2012 at 10:42 AM, Paolo Bonzini wrote: > The thread pool can be used under Win32 in the same way as in raw-posix.c. > Move the existing synchronous code into callbacks, and pass the return > code back. > > Signed-off-by: Paolo Bonzini > --- > block/raw-win32.c | 189 > +

[Qemu-devel] [PATCH 12/12] raw-win32: add emulated AIO support

2012-07-16 Thread Paolo Bonzini
The thread pool can be used under Win32 in the same way as in raw-posix.c. Move the existing synchronous code into callbacks, and pass the return code back. Signed-off-by: Paolo Bonzini --- block/raw-win32.c | 189 +++-- 1 file changed, 140 insert