commit | ce317461573bac12b10d67699b4ddf1f97cf066c | [log] [tgz] |
---|---|---|
author | Jason Wang <jasowang@redhat.com> | Fri Sep 25 13:21:28 2015 +0800 |
committer | Michael S. Tsirkin <mst@redhat.com> | Thu Oct 01 16:16:52 2015 +0300 |
tree | ec14f3e0461544014c605b01adf45989cb70fc77 | |
parent | fa500928ad9da6dd570918e3dfca13c029af07a8 [diff] |
virtio: introduce virtqueue_unmap_sg() Factor out sg unmapping logic. This will be reused by the patch that can discard descriptor. Cc: Michael S. Tsirkin <mst@redhat.com> Cc: Andrew James <andrew.james@hpe.com> Signed-off-by: Jason Wang <jasowang@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>