Re: [Qemu-devel] [PATCH V3] chardev: fix parallel device can't be reconnect

2017-07-13 Thread Paolo Bonzini
On 12/07/2017 17:41, Peng Hao wrote: > Parallel device don't register be->chr_can_read function, but remote > disconnect event is handled in chr_read.So connected parallel device > can not detect remote disconnect event. The chardevs with chr_can_read=NULL > has the same problem. > >

[Qemu-devel] [PATCH V3] chardev: fix parallel device can't be reconnect

2017-07-12 Thread Peng Hao
Parallel device don't register be->chr_can_read function, but remote disconnect event is handled in chr_read.So connected parallel device can not detect remote disconnect event. The chardevs with chr_can_read=NULL has the same problem. Signed-off-by: Peng Hao Reviewed-by: