Revision c4843a45e3d4f3698b214275ab5e78cdb6a3d212 authored by Marc-André Lureau on 26 July 2016, 21:15:11 UTC, committed by Michael S. Tsirkin on 28 July 2016, 21:33:48 UTC
The vhost-user code is quite inconsistent with error handling. Instead of ignoring some return values of read/write and silently going on with invalid state (invalid read for example), break the code flow when the error happened. Signed-off-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>
1 parent 6fab2f3
File | Mode | Size |
---|---|---|
9p-iov-marshal.c | -rw-r--r-- | 10.1 KB |
9p-iov-marshal.h | -rw-r--r-- | 768 bytes |
9p-marshal.c | -rw-r--r-- | 890 bytes |
9p-marshal.h | -rw-r--r-- | 1.7 KB |
Makefile.objs | -rw-r--r-- | 464 bytes |
file-op-9p.h | -rw-r--r-- | 4.6 KB |
qemu-fsdev-dummy.c | -rw-r--r-- | 382 bytes |
qemu-fsdev-opts.c | -rw-r--r-- | 2.0 KB |
qemu-fsdev.c | -rw-r--r-- | 2.5 KB |
qemu-fsdev.h | -rw-r--r-- | 996 bytes |
virtfs-proxy-helper.c | -rw-r--r-- | 30.6 KB |
virtfs-proxy-helper.texi | -rw-r--r-- | 2.1 KB |
Computing file changes ...