]> git.ipfire.org Git - thirdparty/qemu.git/commit
vhost_net: Add NetClientInfo start callback
authorEugenio Pérez <eperezma@redhat.com>
Tue, 23 Aug 2022 18:30:30 +0000 (20:30 +0200)
committerJason Wang <jasowang@redhat.com>
Fri, 2 Sep 2022 02:22:39 +0000 (10:22 +0800)
commiteb92b75380fc0f2368e22be45d1e2d1e2cd2f79c
tree15623b775f40a11c800b1bd07353816cf6f8de8f
parentd368c0b052ad95d3bf4fcc5a5d25715a35c91d4b
vhost_net: Add NetClientInfo start callback

This is used by the backend to perform actions before the device is
started.

In particular, vdpa net use it to map CVQ buffers to the device, so it
can send control commands using them.

Signed-off-by: Eugenio Pérez <eperezma@redhat.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
hw/net/vhost_net.c
include/net/net.h