diff options
author | Stefan Hajnoczi <stefanha@redhat.com> | 2016-09-19 14:28:04 +0100 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2016-10-10 01:16:58 +0300 |
commit | 97b93c8ad2242c5a5f89ac50f9e696289c5b4947 (patch) | |
tree | af31ae74d3fa8cdbc39fe55abab6209fe5701d3a /hw/char | |
parent | 2640d2a5ff08978d67bd87518d05d6b499488c9a (diff) |
virtio-blk: add missing virtio_detach_element() call
Make sure to unmap the scatter-gather list and decrement vq->inuse
before freeing requests in virtio_blk_reset().
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Ladi Prosek <lprosek@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/char')
0 files changed, 0 insertions, 0 deletions