diff options
author | Eugenio Pérez | 2022-08-23 20:30:34 +0200 |
---|---|---|
committer | Jason Wang | 2022-09-02 04:22:39 +0200 |
commit | be4278b65fc1be8fce87e1e7c01bc52602d304eb (patch) | |
tree | c4a71eeaca1ef1911f0ff77bab60938386c20168 /net/queue.c | |
parent | vdpa: Move command buffers map to start of net device (diff) | |
download | qemu-be4278b65fc1be8fce87e1e7c01bc52602d304eb.tar.gz qemu-be4278b65fc1be8fce87e1e7c01bc52602d304eb.tar.xz qemu-be4278b65fc1be8fce87e1e7c01bc52602d304eb.zip |
vdpa: extract vhost_vdpa_net_cvq_add from vhost_vdpa_net_handle_ctrl_avail
So we can reuse it to inject state messages.
Signed-off-by: Eugenio Pérez <eperezma@redhat.com>
Acked-by: Jason Wang <jasowang@redhat.com>
--
v7:
* Remove double free error
v6:
* Do not assume in buffer sent to the device is sizeof(virtio_net_ctrl_ack)
v5:
* Do not use an artificial !NULL VirtQueueElement
* Use only out size instead of iovec dev_buffers for these functions.
Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'net/queue.c')
0 files changed, 0 insertions, 0 deletions