diff options
author | Peng Hao <peng.hao2@zte.com.cn> | 2017-07-12 23:41:59 +0800 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2017-07-14 12:04:41 +0200 |
commit | 98fab4c163adb980568afa40824208edbcd6d70c (patch) | |
tree | fd191f365a20df19145954dc075afc4decffaf39 /hw/dma | |
parent | 5a6a1ad181c658b810041d852b290ac836965aca (diff) |
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>
Diffstat (limited to 'hw/dma')
0 files changed, 0 insertions, 0 deletions