summaryrefslogtreecommitdiffstats
path: root/net/announce.c
diff options
context:
space:
mode:
authorEugenio Pérez2022-08-23 20:30:34 +0200
committerJason Wang2022-09-02 04:22:39 +0200
commitbe4278b65fc1be8fce87e1e7c01bc52602d304eb (patch)
treec4a71eeaca1ef1911f0ff77bab60938386c20168 /net/announce.c
parentvdpa: Move command buffers map to start of net device (diff)
downloadqemu-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/announce.c')
0 files changed, 0 insertions, 0 deletions