diff options
| author | Nikolay Nikolaev <n.nikolaev@virtualopensystems.com> | 2014-05-27 15:04:28 +0300 |
|---|---|---|
| committer | Michael S. Tsirkin <mst@redhat.com> | 2014-06-19 16:41:55 +0300 |
| commit | cdaa86a54b232572bba594bf87a7416e527e460c (patch) | |
| tree | d2bcb7220050a382144ed4003da157392a5f9600 /hw/net/vhost_net.c | |
| parent | c76bf6bb8fbbb233a7d3641e09229d23747d5ee3 (diff) | |
| download | focaccia-qemu-cdaa86a54b232572bba594bf87a7416e527e460c.tar.gz focaccia-qemu-cdaa86a54b232572bba594bf87a7416e527e460c.zip | |
Add G_IO_HUP handler for socket chardev
This is used to detect that the remote end has disconnected. Just call tcp_char_disconnect on receiving this event. Signed-off-by: Antonios Motakis <a.motakis@virtualopensystems.com> Signed-off-by: Nikolay Nikolaev <n.nikolaev@virtualopensystems.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/net/vhost_net.c')
0 files changed, 0 insertions, 0 deletions