Re: [Qemu-devel] [PATCH 1/3] do not loop on an incomplete io_thread_fd read

2010-02-10 Thread Anthony Liguori
On 02/02/2010 01:33 PM, Paolo Bonzini wrote: No need to loop if less than a full buffer is read, the next read would return EAGAIN. Signed-off-by: Paolo Bonzini Applied all. Thanks. Regards, Anthony Liguori --- vl.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff

[Qemu-devel] [PATCH 1/3] do not loop on an incomplete io_thread_fd read

2010-02-02 Thread Paolo Bonzini
No need to loop if less than a full buffer is read, the next read would return EAGAIN. Signed-off-by: Paolo Bonzini --- vl.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/vl.c b/vl.c index 6f1e1ab..46c1118 100644 --- a/vl.c +++ b/vl.c @@ -3210,12 +3210,12 @@ static