xemu/contrib
Marc-André Lureau 6079865526 libvhost-user: exit by default on VHOST_USER_NONE
Since commit 2566378d6d, libvhost-user
no longer panics on disconnect (rc == 0), and instead silently ignores
an invalid VHOST_USER_NONE message.

Without extra work from the API user, this will simply busy-loop on
HUP events. The obvious thing to do is to exit(0) instead, while
additional or different work can be done by overriding
iface->process_msg().

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Jens Freimann <jfreimann@redhat.com>
Message-Id: <20190308140454.32437-5-marcandre.lureau@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2019-03-12 21:22:31 -04:00
..
elf2dmp contrib/elf2dmp: add kernel start address checking 2019-03-11 16:33:49 +01:00
gitdm contrib/gitdm: Fix a typo 2019-01-24 13:34:20 +01:00
ivshmem-client qemu/queue.h: leave head structs anonymous unless necessary 2019-01-11 15:46:55 +01:00
ivshmem-server qemu/queue.h: leave head structs anonymous unless necessary 2019-01-11 15:46:55 +01:00
libvhost-user libvhost-user: exit by default on VHOST_USER_NONE 2019-03-12 21:22:31 -04:00
rdmacm-mux contrib/rdmacm-mux: fix clang compilation 2019-01-19 11:01:57 +02:00
systemd contrib: add systemd unit files 2017-12-20 22:29:26 +01:00
vhost-user-blk vhost-user-blk: add discard/write zeroes features support 2019-02-05 10:58:33 -05:00
vhost-user-scsi Clean up includes 2018-12-20 10:29:08 +01:00