Peng Hao 98fab4c163 chardev: fix parallel device can't be reconnect
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 <peng.hao2@zte.com.cn>
Reviewed-by: Wang Yechao <wang.yechao255@zte.com.cn>
Reviewed-by: Jiang Biao <jiang.biao2@zte.com.cn>
Message-Id: <1499874119-67558-1-git-send-email-peng.hao2@zte.com.cn>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2017-07-14 12:04:41 +02:00
..
2017-07-14 11:04:33 +02:00
2017-07-14 11:04:33 +02:00
2017-07-14 11:04:33 +02:00
2017-07-14 11:04:33 +02:00
2017-07-14 11:04:33 +02:00
2017-07-14 11:04:33 +02:00
2017-07-14 11:04:33 +02:00
2017-07-14 11:04:34 +02:00
2016-10-17 19:32:44 +01:00