Re: [Qemu-devel] [PATCH] handle_aiocb_rw() can't distinguish between an error and 0 bytes transferred

2015-09-29 Thread Kevin Wolf
Hi, thanks for sending this patch. The actual change looks correct, but there are a few formal problems with your patch submission. I can fix these problems myself and apply the patch anyway, but I want to let you know so you can improve your future patches. If you were not a first time

[Qemu-devel] [PATCH] handle_aiocb_rw() can't distinguish between an error and 0 bytes transferred

2015-09-25 Thread Guangmu Zhu
The handle_aiocb_rw() can't distinguish between an error and 0 bytes transferred. diff --git a/block/raw-win32.c b/block/raw-win32.c index 68f2338..569dda2 100644 --- a/block/raw-win32.c +++ b/block/raw-win32.c @@ -60,11 +60,13 @@ typedef struct BDRVRawState { * Returns the number of bytes

Re: [Qemu-devel] [PATCH] handle_aiocb_rw() can't distinguish between an error and 0 bytes transferred

2015-09-25 Thread Guangmu Zhu
Correct patch format. Signed-off-by: Guangmu Zhu --- block/raw-win32.c | 48 ++-- 1 file changed, 30 insertions(+), 18 deletions(-) diff --git a/block/raw-win32.c b/block/raw-win32.c index 68f2338..569dda2 100644 ---