Re: [Qemu-devel] [PATCH] qemu-char: (Re-)connect for tcp_chr_write() unconnected writing

2012-08-06 Thread Lei Li
Ping? On 07/20/2012 07:09 AM, Anthony Liguori wrote: Lei Li writes: tcp_chr_write() did not deal with writing to an unconnected connection and return the original length of the data, it's not right and would cause false writing. So (re-)connect it and return 0 for this situation. Signed-off-

Re: [Qemu-devel] [PATCH] qemu-char: (Re-)connect for tcp_chr_write() unconnected writing

2012-07-19 Thread Anthony Liguori
Lei Li writes: > tcp_chr_write() did not deal with writing to an unconnected > connection and return the original length of the data, it's > not right and would cause false writing. So (re-)connect it > and return 0 for this situation. > > Signed-off-by: Lei Li Looks good. Reviewed-by: Anthony

[Qemu-devel] [PATCH] qemu-char: (Re-)connect for tcp_chr_write() unconnected writing

2012-07-19 Thread Lei Li
tcp_chr_write() did not deal with writing to an unconnected connection and return the original length of the data, it's not right and would cause false writing. So (re-)connect it and return 0 for this situation. Signed-off-by: Lei Li --- qemu-char.c |7 +-- 1 files changed, 5 insertions

[Qemu-devel] [PATCH] qemu-char: (Re-)connect for tcp_chr_write() unconnected writing

2012-07-15 Thread Lei Li
tcp_chr_write() did not deal with writing to an unconnected connection, (re-)connect it for this situation. Signed-off-by: Lei Li --- qemu-char.c |7 +-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/qemu-char.c b/qemu-char.c index c2aaaee..25eaeeb 100644 --- a/qemu-char