[PATCH vhost 08/17] virtio: vring_new_virtqueue(): pass struct instead of multi parameters

Jason Wang jasowang at redhat.com
Wed Jan 31 01:12:38 PST 2024


On Tue, Jan 30, 2024 at 7:42 PM Xuan Zhuo <xuanzhuo at linux.alibaba.com> wrote:
>
> Just like find_vqs(), it is time to refactor the
> vring_new_virtqueue(). We pass the similar struct to
> vring_new_virtqueue.
>

Well, the vring_create_virtqueue() is converted with a structure.

We need to be consistent. And it seems better to use a separate patch
for vring_create_virtqueue() as well.

Thanks




More information about the linux-um mailing list