]> git.baikalelectronics.ru Git - kernel.git/commit
vdpa: support exposing the count of vqs to userspace
authorLongpeng <longpeng2@huawei.com>
Tue, 15 Mar 2022 03:25:53 +0000 (11:25 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 28 Mar 2022 20:53:00 +0000 (16:53 -0400)
commit6555b38122fe3d0a41ee6da93f146ae16e12684e
tree21325d43a9ba2f7277bc9991d60eef9617596ea6
parent222571a7dbeb24ce71dbaa44de48bea908a88ac6
vdpa: support exposing the count of vqs to userspace

- GET_VQS_COUNT: the count of virtqueues that exposed

Signed-off-by: Longpeng <longpeng2@huawei.com>
Link: https://lore.kernel.org/r/20220315032553.455-4-longpeng2@huawei.com
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: Longpeng &lt;<a href="mailto:longpeng2@huawei.com" target="_blank">longpeng2@huawei.com</a>&gt;<br>
Reviewed-by: Stefano Garzarella <sgarzare@redhat.com>
drivers/vhost/vdpa.c
include/uapi/linux/vhost.h