commit | 7ae93ff136a00eccc0027d9a01c95680a9e8d756 | [log] [tgz] |
---|---|---|
author | Michael S. Tsirkin <mst@redhat.com> | Fri Apr 20 20:22:40 2018 +0300 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Tue May 01 12:58:11 2018 -0700 |
tree | a128e1815b4792c9078ddd807ad16e8fcddf6ca9 | |
parent | cf7405f67543bcb8b334c1e79fcd75ad172f7599 [diff] |
virtio: add ability to iterate over vqs commit 24a7e4d20783c0514850f24a5c41ede46ab058f0 upstream. 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>