[Qemu-devel] [PATCH] win32-aio: use iov utility functions instead of open-coding them

2013-01-17 Thread Michael Tokarev
We have iov_from_buf() and iov_to_buf(), use them instead of open-coding these in block/win32-aio.c Signed-Off-By: Michael Tokarev m...@tls.msk.ru --- block/win32-aio.c | 18 +++--- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/block/win32-aio.c b/block/win32-aio.c

Re: [Qemu-devel] [PATCH] win32-aio: use iov utility functions instead of open-coding them

2013-01-17 Thread Kevin Wolf
Am 17.01.2013 09:48, schrieb Michael Tokarev: We have iov_from_buf() and iov_to_buf(), use them instead of open-coding these in block/win32-aio.c Signed-Off-By: Michael Tokarev m...@tls.msk.ru --- block/win32-aio.c | 18 +++--- 1 file changed, 3 insertions(+), 15

Re: [Qemu-devel] [PATCH] win32-aio: use iov utility functions instead of open-coding them

2013-01-17 Thread Michael Tokarev
17.01.2013 12:57, Kevin Wolf wrote: I said on top of my patch for a reason: Now this looks like an innocent Kevin, that wasn't intentional. I'm sorry. Somehow I thought your bugfix is already applied to master, and these reverse memcpy args are difficult to spot (gah, that's why the bug is