Home
last modified time | relevance | path

Searched hist:"1 f46ae65d85f677b660bda46685dd3e94885a7cb" (Results 1 – 1 of 1) sorted by relevance

/qemu/hw/virtio/
H A Dvhost-shadow-virtqueue.c1f46ae65d85f677b660bda46685dd3e94885a7cb Wed Jul 20 06:59:33 UTC 2022 Eugenio Pérez <eperezma@redhat.com> 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>