[PATCH vhost v6 6/6] virtio_ring: simplify the parameters of the funcs related to vring_create/new_virtqueue()

Jason Wang jasowang at redhat.com
Wed Mar 27 21:42:13 PDT 2024


On Wed, Mar 27, 2024 at 5:58 PM Xuan Zhuo <xuanzhuo at linux.alibaba.com> wrote:
>
> As the refactor of find_vqs()/vring_new_virtqueue()/vring_create_virtqueue
> the struct cfg/tp_cfg are passed to vring.
>
> This patch refactors the vring by these structures. This can simplify
> the code.
>
> Signed-off-by: Xuan Zhuo <xuanzhuo at linux.alibaba.com>
> Reviewed-by: Ilpo Järvinen <ilpo.jarvinen at linux.intel.com>
> ---

Acked-by: Jason Wang <jasowang at redhat.com>

Thanks




More information about the linux-um mailing list