]> git.proxmox.com Git - mirror_qemu.git/commit
vhost: move descriptor translation to vhost_svq_vring_write_descs
authorEugenio Pérez <eperezma@redhat.com>
Wed, 20 Jul 2022 06:59:26 +0000 (08:59 +0200)
committerJason Wang <jasowang@redhat.com>
Wed, 20 Jul 2022 08:58:08 +0000 (16:58 +0800)
commit009c2549bb9dc7f7061009eb87f2a53d4b364983
tree5ac3fa7b47f6ef624b7240a3c62533e88bc6fbbc
parentd48125de38f48a61d6423ef6a01156d6dff9ee2c
vhost: move descriptor translation to vhost_svq_vring_write_descs

It's done for both in and out descriptors so it's better placed here.

Acked-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: Eugenio Pérez <eperezma@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
hw/virtio/vhost-shadow-virtqueue.c