vhost-user: add error report in vhost_user_write()
commitf6b8571041eea057b9e55fad51357e8d8ac9b1c0
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Tue, 26 Jul 2016 21:15:24 +0000 (27 01:15 +0400)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 28 Jul 2016 21:33:49 +0000 (29 00:33 +0300)
tree1443855f0061c58a09ab32d7e37880ebecf100dd
parent69179fe2fc0b91f68699012ba72d329e74ff629e
vhost-user: add error report in vhost_user_write()

Similar to vhost_user_read() error report, it is useful to have early
error report.

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>
hw/virtio/vhost-user.c