libvhost-user: Introduce vu_queue_map_desc()
commitf7671f3d49418f570a86de6b54795edcd5cb68dd
authorXie Yongji <xieyongji@baidu.com>
Thu, 28 Feb 2019 08:53:51 +0000 (28 16:53 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 13 Mar 2019 02:31:21 +0000 (12 22:31 -0400)
tree1cc51b42c6b5889cacc4c2301e24f2ee9f74bf81
parent792468cc6f15716fa37e2f0afa387b58bf9d9d05
libvhost-user: Introduce vu_queue_map_desc()

Introduce vu_queue_map_desc() which should be
independent with vu_queue_pop();

Signed-off-by: Xie Yongji <xieyongji@baidu.com>
Signed-off-by: Zhang Yu <zhangyu31@baidu.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20190228085355.9614-4-xieyongji@baidu.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
contrib/libvhost-user/libvhost-user.c