]> 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)
commit6f25e7703c504b2fd4204d4f578e1bc49963bb99
tree5d012612c580d047f5300f0b3333bf7bee9ac106
parent5ff554ff9a3f67a2171c089204b648c90a8ea79e
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