aboutsummaryrefslogtreecommitdiff
path: root/hw/virtio/vhost-shadow-virtqueue.h
diff options
context:
space:
mode:
authorEugenio Pérez <eperezma@redhat.com>2022-07-20 08:59:33 +0200
committerJason Wang <jasowang@redhat.com>2022-07-20 16:58:08 +0800
commit1f46ae65d85f677b660bda46685dd3e94885a7cb (patch)
treec0b37d27751168ae1bd4477c61cbf338a99825ac /hw/virtio/vhost-shadow-virtqueue.h
parentf20b70eb5a68cfd8fef74a13ccdd494ef1cb0221 (diff)
vhost: Decouple vhost_svq_add from VirtQueueElement
VirtQueueElement comes from the guest, but we're heading SVQ to be able to modify the element presented to the device without the guest's knowledge. To do so, make SVQ accept sg buffers directly, instead of using VirtQueueElement. Add vhost_svq_add_element to maintain element convenience. Signed-off-by: Eugenio Pérez <eperezma@redhat.com> Acked-by: Jason Wang <jasowang@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'hw/virtio/vhost-shadow-virtqueue.h')
0 files changed, 0 insertions, 0 deletions