On Wed, May 21, 2025 at 7:34 PM Viresh Kumar <viresh.ku...@linaro.org> wrote: > > The MMIO transport implementation creates a list of virtqueues for a > virtio device, while the same is already available in the struct > virtio_device. > > Don't create a duplicate list, and use the other one instead. > > While at it, fix the virtio_device_for_each_vq() macro to accept an > argument like "&vm_dev->vdev" (which currently fails to build). > > Signed-off-by: Viresh Kumar <viresh.ku...@linaro.org> > ---
Acked-by: Jason Wang <jasow...@redhat.com> Btw, virtio-vdpa may need the same optimization. Thanks