]> git.baikalelectronics.ru Git - kernel.git/commit
virtio: add ability to iterate over vqs
authorMichael S. Tsirkin <mst@redhat.com>
Fri, 20 Apr 2018 17:22:40 +0000 (20:22 +0300)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 25 Apr 2018 17:33:19 +0000 (20:33 +0300)
commit24a7e4d20783c0514850f24a5c41ede46ab058f0
tree5d012612c580d047f5300f0b3333bf7bee9ac106
parent2855b33514d290c51d52d94e25d3ef942cd4d578
virtio: add ability to iterate over vqs

For cleanup it's helpful to be able to simply scan all vqs and discard
all data. Add an iterator to do that.

Cc: stable@vger.kernel.org
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
include/linux/virtio.h