summaryrefslogtreecommitdiffstats
path: root/include/hw/virtio/vhost-backend.h
diff options
context:
space:
mode:
authorYuanhan Liu2015-09-23 06:19:58 +0200
committerMichael S. Tsirkin2015-09-24 15:27:52 +0200
commite2051e9e004649b53af4db34f78c689fb44e075b (patch)
tree5621451188099ce6e8d2df7dcc81f0d2401fd166 /include/hw/virtio/vhost-backend.h
parentvhost: rename VHOST_RESET_OWNER to VHOST_RESET_DEVICE (diff)
downloadqemu-e2051e9e004649b53af4db34f78c689fb44e075b.tar.gz
qemu-e2051e9e004649b53af4db34f78c689fb44e075b.tar.xz
qemu-e2051e9e004649b53af4db34f78c689fb44e075b.zip
vhost-user: add VHOST_USER_GET_QUEUE_NUM message
This is for querying how many queues the backend supports if it has mq support(when VHOST_USER_PROTOCOL_F_MQ flag is set from the quried protocol features). vhost_net_get_max_queues() is the interface to export that value, and to tell if the backend supports # of queues user requested, which is done in the following patch. Signed-off-by: Yuanhan Liu <yuanhan.liu@linux.intel.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Yuanhan Liu <yuanhan.liu@linux.intel.com> Tested-by: Marcel Apfelbaum <marcel@redhat.com>
Diffstat (limited to 'include/hw/virtio/vhost-backend.h')
0 files changed, 0 insertions, 0 deletions