vhost-user: check qemu_chr_fe_set_msgfds() return value
commit6fab2f3f6064ad0a712c6d9213b9151bcc87c3d6
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Tue, 26 Jul 2016 21:15:10 +0000 (27 01:15 +0400)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 28 Jul 2016 21:33:48 +0000 (29 00:33 +0300)
tree41cb085df52db90ec364bf991d7dc9ed14ab5409
parentdf3485a14821edf75b1d3ee6ca38cd80fa989dbf
vhost-user: check qemu_chr_fe_set_msgfds() return value

Check qemu_chr_fe_set_msgfds() for errors, to make sure the message to
be sent is correct.

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