diff options
author | Eugenio Pérez <eperezma@redhat.com> | 2022-08-23 20:30:34 +0200 |
---|---|---|
committer | Jason Wang <jasowang@redhat.com> | 2022-09-02 10:22:39 +0800 |
commit | be4278b65fc1be8fce87e1e7c01bc52602d304eb (patch) | |
tree | c4a71eeaca1ef1911f0ff77bab60938386c20168 /hw/net | |
parent | 7a7f87e94c4e75ca177564491595dd17b7e41a62 (diff) |
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 'hw/net')
0 files changed, 0 insertions, 0 deletions