vdpa: add vhost_vdpa_net_valid_svq_features
commit36e4647247f200b6fa4d2f656133f567036e8a85
authorEugenio Pérez <eperezma@redhat.com>
Thu, 15 Dec 2022 11:31:37 +0000 (15 12:31 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 21 Dec 2022 11:35:28 +0000 (21 06:35 -0500)
tree2b0431d1423bd1c1b461b65e750dfa72e3084f60
parent5fde952bbdd521c10fc018ee04f922a7dca5f663
vdpa: add vhost_vdpa_net_valid_svq_features

It will be reused at vdpa device start so let's extract in its own
function.

Signed-off-by: Eugenio Pérez <eperezma@redhat.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Message-Id: <20221215113144.322011-6-eperezma@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
net/vhost-vdpa.c