qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] qemu-char: rewrite io_channel_send_all and drop


From: Amit Shah
Subject: Re: [Qemu-devel] [PATCH] qemu-char: rewrite io_channel_send_all and drop the '_all' suffix
Date: Mon, 1 Apr 2013 12:17:28 +0530

On (Fri) 29 Mar 2013 [11:39:50], Anthony Liguori wrote:
> The current code is oddly written and have equally odd semantics.
> Despite the '_all' suffix, upon EAGAIN the result will be a partial
> write but instead of returning the partial write, we return EAGAIN.
> 
> Change the behavior to write as much as we can until we get an EAGAIN
> returning a partial write if we do.
> 
> Reported-by: Amit Shah <address@hidden>
> Signed-off-by: Anthony Liguori <address@hidden>

Looks good.

Tested-by: Amit Shah <address@hidden>

                Amit



reply via email to

[Prev in Thread] Current Thread [Next in Thread]