qemu-e2k/contrib/libvhost-user
Dr. David Alan Gilbert e3638151da libvhost-user: Send messages with no data
The response to a VHOST_USER_POSTCOPY_ADVISE contains a fd but doesn't
actually contain any data.   FIx vu_message_write so that it doesn't
do a 0-byte write() call, since this was ending up with rc=0
that was confusing the error handling code.

Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2018-05-23 17:02:02 +03:00
..
Makefile.objs libvhost-user: add glib source helper 2017-10-10 23:31:09 +02:00
libvhost-user-glib.c libvhost-user: add glib source helper 2017-10-10 23:31:09 +02:00
libvhost-user-glib.h libvhost-user: add glib source helper 2017-10-10 23:31:09 +02:00
libvhost-user.c libvhost-user: Send messages with no data 2018-05-23 17:02:02 +03:00
libvhost-user.h contrib/libvhost-user: add the protocol feature used for SET/GET message 2018-04-09 17:35:46 +03:00