Re: [Qemu-devel] [PATCH] qemu-nbd: drop loop which can never loop

2012-01-05 Thread Stefan Hajnoczi
On Thu, Jan 5, 2012 at 1:29 PM, Paolo Bonzini wrote: > I suppose it will get in through your trivial patches tree, won't it? Yes

Re: [Qemu-devel] [PATCH] qemu-nbd: drop loop which can never loop

2012-01-05 Thread Paolo Bonzini
On 01/05/2012 02:16 PM, Stefan Hajnoczi wrote: For some reason nbd_client_thread() has a do..while loop which can never loop, the condition is bogus because we would take a goto instead. Drop the loop. Reported-by: Dr David Alan Gilbert Signed-off-by: Stefan Hajnoczi --- qemu-nbd.c | 10 +++