]> 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)
commit951b73a9d5f60ad72d6c21cb61b3036bac31e890
tree5d012612c580d047f5300f0b3333bf7bee9ac106
parent268be8c82791120182bcd1534321960db217f934
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