]> Git Repo - qemu.git/commit
chardev/char-socket: Properly make qio connections non blocking
authorSai Pavan Boddu <[email protected]>
Sun, 19 Apr 2020 09:51:40 +0000 (15:21 +0530)
committerPaolo Bonzini <[email protected]>
Wed, 10 Jun 2020 16:10:45 +0000 (12:10 -0400)
commit4d1d4602488fd5f3c0f0601feac4289b474add37
tree2cd48d135941236c4867747b0b845eea3048ee51
parentc82d9d43ed5d1a7021890d788193fdbeae1011c8
chardev/char-socket: Properly make qio connections non blocking

In tcp_chr_sync_read function, there is a possibility of socket
disconnection during blocking read, then tcp_chr_hup function would clean up
the qio channel pointers(i.e ioc, sioc).

Signed-off-by: Sai Pavan Boddu <[email protected]>
Message-Id: <1587289900[email protected]>
Reviewed-by: Daniel P. BerrangĂ© <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
chardev/char-socket.c
This page took 0.020577 seconds and 4 git commands to generate.