On Sun, 30 Nov 2014 17:09:08 +0200 "Michael S. Tsirkin" <mst@xxxxxxxxxx> wrote: > Add low level APIs to test/set/clear feature bits. > For use by transports, to make it easier to > write code independent of feature bit array format. > > Note: APIs is prefixed with __ and has _bit suffix > to stress its low level nature. It's for use by transports only: > drivers should use virtio_has_feature and never need to set/clear > features. > > Signed-off-by: Michael S. Tsirkin <mst@xxxxxxxxxx> > --- > include/linux/virtio_config.h | 53 ++++++++++++++++++++++++++++++++++++++++--- > 1 file changed, 50 insertions(+), 3 deletions(-) Reviewed-by: Cornelia Huck <cornelia.huck@xxxxxxxxxx> _______________________________________________ Virtualization mailing list Virtualization@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linuxfoundation.org/mailman/listinfo/virtualization