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;
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
> +
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