summaryrefslogtreecommitdiffstats
path: root/exec.c
diff options
context:
space:
mode:
authorJason Wang2015-09-25 07:21:29 +0200
committerMichael S. Tsirkin2015-10-01 15:16:52 +0200
commit29b9f5efd78ae0f9cc02dd169b6e80d2c404bade (patch)
tree61adbcab5d9a55d6ee79959d06763bffb5d40193 /exec.c
parentvirtio: introduce virtqueue_unmap_sg() (diff)
downloadqemu-29b9f5efd78ae0f9cc02dd169b6e80d2c404bade.tar.gz
qemu-29b9f5efd78ae0f9cc02dd169b6e80d2c404bade.tar.xz
qemu-29b9f5efd78ae0f9cc02dd169b6e80d2c404bade.zip
virtio: introduce virtqueue_discard()
This patch introduces virtqueue_discard() to discard a descriptor and unmap the sgs. This will be used by the patch that will discard descriptor when packet is truncated. Cc: Michael S. Tsirkin <mst@redhat.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>
Diffstat (limited to 'exec.c')
0 files changed, 0 insertions, 0 deletions