diff options
| author | Stefan Hajnoczi | 2016-09-19 15:28:04 +0200 |
|---|---|---|
| committer | Michael S. Tsirkin | 2016-10-10 00:16:58 +0200 |
| commit | 97b93c8ad2242c5a5f89ac50f9e696289c5b4947 (patch) | |
| tree | af31ae74d3fa8cdbc39fe55abab6209fe5701d3a /scripts/switch-timer-api | |
| parent | virtio: add virtio_detach_element() (diff) | |
| download | qemu-97b93c8ad2242c5a5f89ac50f9e696289c5b4947.tar.gz qemu-97b93c8ad2242c5a5f89ac50f9e696289c5b4947.tar.xz qemu-97b93c8ad2242c5a5f89ac50f9e696289c5b4947.zip | |
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 'scripts/switch-timer-api')
0 files changed, 0 insertions, 0 deletions
