qemu-patch-raspberry4/net
Tetsuya Mukawa a6553598be vhost-user: add ability to know vhost-user backend disconnection
Current QEMU cannot detect vhost-user backend disconnection. The
patch adds ability to know it.
To know disconnection, add watcher to detect G_IO_HUP event. When
G_IO_HUP event is detected, the disconnected socket will be read
to cause a CHR_EVENT_CLOSED.

Signed-off-by: Tetsuya Mukawa <mukawa@igel.co.jp>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Tested-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
Reviewed-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
Reviewed-by: Victor Kaplansky <victork@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2016-06-17 03:28:02 +03:00
..
checksum.c net: handle optional VLAN header in checksum computation. 2016-06-02 10:42:46 +08:00
clients.h net: Permit incremental conversion of init functions to Error 2015-05-27 09:51:04 +01:00
dump.c include/qemu/osdep.h: Don't include qapi/error.h 2016-03-22 22:20:15 +01:00
eth.c net_pkt: Extend packet abstraction as required by e1000e functionality 2016-06-02 10:42:28 +08:00
filter-buffer.c include/qemu/osdep.h: Don't include qapi/error.h 2016-03-22 22:20:15 +01:00
filter-mirror.c net/net: Add SocketReadState for reuse codes 2016-06-01 09:25:29 +08:00
filter.c filter-buffer: fix segfault when starting qemu with status=off property 2016-04-06 09:52:07 +08:00
hub.c qapi: Don't special-case simple union wrappers 2016-03-18 10:29:26 +01:00
hub.h net: fix qemu_flush_queued_packets() in presence of a hub 2013-02-27 16:10:23 +01:00
l2tpv3.c qapi: Don't special-case simple union wrappers 2016-03-18 10:29:26 +01:00
Makefile.objs net/filter-mirror:Add filter-mirror 2016-03-30 08:54:29 +08:00
net.c net/net: Add SocketReadState for reuse codes 2016-06-01 09:25:29 +08:00
netmap.c net: fix missing include of qapi/error.h in netmap.c 2016-04-04 15:01:14 +01:00
queue.c net: Clean up includes 2016-02-04 17:41:30 +00:00
slirp.c slirp: Allow disabling IPv4 or IPv6 2016-04-01 17:51:55 +02:00
socket.c net/net: Add SocketReadState for reuse codes 2016-06-01 09:25:29 +08:00
tap-aix.c include/qemu/osdep.h: Don't include qapi/error.h 2016-03-22 22:20:15 +01:00
tap-bsd.c util: move declarations out of qemu-common.h 2016-03-22 22:20:17 +01:00
tap-haiku.c include/qemu/osdep.h: Don't include qapi/error.h 2016-03-22 22:20:15 +01:00
tap-linux.c util: move declarations out of qemu-common.h 2016-03-22 22:20:17 +01:00
tap-linux.h all: Clean up includes 2016-02-23 12:43:05 +00:00
tap-solaris.c util: move declarations out of qemu-common.h 2016-03-22 22:20:17 +01:00
tap-win32.c qapi: Don't special-case simple union wrappers 2016-03-18 10:29:26 +01:00
tap.c net/tap: Allocating Large sized arrays to heap 2016-05-25 15:46:07 +08:00
tap_int.h tap: add VNET_LE/VNET_BE operations 2015-06-17 17:12:54 +02:00
util.c net: Clean up includes 2016-02-04 17:41:30 +00:00
util.h all: Clean up includes 2016-02-23 12:43:05 +00:00
vde.c qapi: Don't special-case simple union wrappers 2016-03-18 10:29:26 +01:00
vhost-user.c vhost-user: add ability to know vhost-user backend disconnection 2016-06-17 03:28:02 +03:00