Re: [Qemu-devel] [PATCH v2 08/24] raw: Probe required direct I/O alignment

2014-01-11 Thread Max Reitz
On 13.12.2013 14:22, Kevin Wolf wrote: From: Paolo Bonzini Add a bs->request_alignment field that contains the required offset/length alignment for I/O requests and fill it in the raw block drivers. Use ioctls if possible, else see what alignment it takes for O_DIRECT to succeed. While at it,

Re: [Qemu-devel] [PATCH v2 08/24] raw: Probe required direct I/O alignment

2013-12-23 Thread Wenchao Xia
I am not sure the win32 API usage, except that part, patch looks OK.

[Qemu-devel] [PATCH v2 08/24] raw: Probe required direct I/O alignment

2013-12-13 Thread Kevin Wolf
From: Paolo Bonzini Add a bs->request_alignment field that contains the required offset/length alignment for I/O requests and fill it in the raw block drivers. Use ioctls if possible, else see what alignment it takes for O_DIRECT to succeed. While at it, also expose the memory alignment requirem