Re: [PATCH vhost v6 08/10] virtio_ring: export premapped to driver by struct virtqueue

2024-03-28 Thread Jason Wang
On Wed, Mar 27, 2024 at 7:14 PM Xuan Zhuo wrote: > > Export the premapped to drivers, then drivers can check > the vq premapped mode after the find_vqs(). > Because the find_vqs() just try to enable the vq premapped mode, > the driver must check that after find_vqs(). What's the reason for this?

[PATCH vhost v6 08/10] virtio_ring: export premapped to driver by struct virtqueue

2024-03-27 Thread Xuan Zhuo
Export the premapped to drivers, then drivers can check the vq premapped mode after the find_vqs(). Because the find_vqs() just try to enable the vq premapped mode, the driver must check that after find_vqs(). Signed-off-by: Xuan Zhuo --- drivers/virtio/virtio_ring.c | 13 + include/