qemu/include/hw/virtio
Jason Wang 29b9f5efd7 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>
2015-10-01 16:16:52 +03:00
..
dataplane virtio: use standard virtio_ring.h 2015-02-26 13:04:03 +01:00
vhost-backend.h vhost-user: add a new message to disable/enable a specific virt queue. 2015-09-24 16:27:53 +03:00
vhost-scsi.h vhost-scsi: include linux/vhost.h 2015-09-25 12:04:41 +02:00
vhost.h vhost-user: add VHOST_USER_GET_QUEUE_NUM message 2015-09-24 16:27:52 +03:00
virtio-9p.h hw: move headers to include/ 2013-04-08 18:13:10 +02:00
virtio-access.h virtio: avoid leading underscores for helpers 2015-09-10 11:06:05 +03:00
virtio-balloon.h balloon: add a feature bit to let Guest OS deflate balloon on oom 2015-06-23 17:08:21 +02:00
virtio-blk.h virtio-blk: correctly dirty guest memory 2015-04-08 10:39:18 +01:00
virtio-bus.h virtio: device_plugged() can fail 2015-05-31 16:44:12 +02:00
virtio-gpu.h virtio-gpu: use virtio_instance_init_common, fixup properties 2015-07-07 11:23:18 +02:00
virtio-input.h virtio-input: add input routing support 2015-07-03 12:21:11 +02:00
virtio-net.h virtio-net: remove useless codes 2015-08-13 14:08:29 +03:00
virtio-rng.h virtio-rng: trigger timer only when guest requests for entropy 2015-07-17 19:05:16 +05:30
virtio-scsi.h virtio-scsi: move qdev properties into virtio-scsi.c 2015-06-10 18:15:34 +02:00
virtio-serial.h virtio-serial-bus: move qdev properties into virtio-serial-bus.c 2015-06-10 18:15:34 +02:00
virtio.h virtio: introduce virtqueue_discard() 2015-10-01 16:16:52 +03:00