On Mon, Apr 06, 2020 at 09:16:46PM -0400, Michael S. Tsirkin wrote: > struct vring (in the uapi directory) and supporting APIs are kept > around to solely avoid breaking old userspace builds. > It's not actually part of the UAPI - it was kept in the UAPI > header by mistake, and using it in kernel isn't necessary > and prevents us from making changes safely. > In particular, the APIs actually assume the legacy layout. > > Add an internal kernel-only struct vring and > switch everyone to use that. > > Signed-off-by: Michael S. Tsirkin <[email protected]> > --- > drivers/block/virtio_blk.c | 1 + > include/linux/virtio.h | 1 - > include/linux/virtio_ring.h | 10 ++++++++++ > include/linux/vringh.h | 1 + > include/uapi/linux/virtio_ring.h | 26 ++++++++++++++++---------- > 5 files changed, 28 insertions(+), 11 deletions(-)
Reviewed-by: Stefan Hajnoczi <[email protected]>
signature.asc
Description: PGP signature
_______________________________________________ Virtualization mailing list [email protected] https://lists.linuxfoundation.org/mailman/listinfo/virtualization
