在 2021/7/7 下午12:04, Yongji Xie 写道:
static long vhost_vdpa_get_vring_num(struct vhost_vdpa *v, u16 __user *argp)
{
- struct vdpa_device *vdpa = v->vdpa;
- const struct vdpa_config_ops *ops = vdpa->config;
u16 num;
- num = ops->get_vq_num_max(vdpa);
+ /*
+ * VHOST_VDPA_GET_VRING_NUM asssumes a global max virtqueue
s/asssumes/assumes. Other looks good to me.
Thanks,
Yongji
Will fix.
Thanks
_______________________________________________
Virtualization mailing list
Virtualization@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linuxfoundation.org/mailman/listinfo/virtualization