]> Git Repo - qemu.git/commit
chardev: fix parallel device can't be reconnect
authorPeng Hao <[email protected]>
Wed, 12 Jul 2017 15:41:59 +0000 (23:41 +0800)
committerPaolo Bonzini <[email protected]>
Fri, 14 Jul 2017 10:04:41 +0000 (12:04 +0200)
commit98fab4c163adb980568afa40824208edbcd6d70c
treefd191f365a20df19145954dc075afc4decffaf39
parent5a6a1ad181c658b810041d852b290ac836965aca
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 <[email protected]>
Reviewed-by: Wang Yechao <[email protected]>
Reviewed-by: Jiang Biao <[email protected]>
Message-Id: <1499874119[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
hw/char/parallel.c
This page took 0.025501 seconds and 4 git commands to generate.