libvhost-user: Factor out vq usability check
commit2a29022768f1777d71e26b784a264323d1914dd6
authorDavid Hildenbrand <david@redhat.com>
Wed, 14 Feb 2024 15:16:59 +0000 (14 16:16 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 12 Mar 2024 21:56:55 +0000 (12 17:56 -0400)
tree10f114b0a7cf34e32294c693308903b89d54ee8e
parentb2b63008b311126ade0a44ddb488d3704dffa51f
libvhost-user: Factor out vq usability check

Let's factor it out to prepare for further changes.

Reviewed-by: Raphael Norwitz <raphael@enfabrica.net>
Acked-by: Stefano Garzarella <sgarzare@redhat.com>
Signed-off-by: David Hildenbrand <david@redhat.com>
Message-Id: <20240214151701.29906-13-david@redhat.com>
Tested-by: Mario Casquero <mcasquer@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
subprojects/libvhost-user/libvhost-user.c