summaryrefslogtreecommitdiffstats
path: root/include/hw/virtio
diff options
context:
space:
mode:
authorJason Wang2021-10-20 06:55:56 +0200
committerMichael S. Tsirkin2021-10-20 10:44:05 +0200
commit05ba3f63d174a716b42aa31c9af5d0ef64fff515 (patch)
treedbf59090e9d40737d149e5f38dffdef2ea70d6f0 /include/hw/virtio
parentnet: introduce control client (diff)
downloadqemu-05ba3f63d174a716b42aa31c9af5d0ef64fff515.tar.gz
qemu-05ba3f63d174a716b42aa31c9af5d0ef64fff515.tar.xz
qemu-05ba3f63d174a716b42aa31c9af5d0ef64fff515.zip
vhost-net: control virtqueue support
We assume there's no cvq in the past, this is not true when we need control virtqueue support for vhost-user backends. So this patch implements the control virtqueue support for vhost-net. As datapath, the control virtqueue is also required to be coupled with the NetClientState. The vhost_net_start/stop() are tweaked to accept the number of datapath queue pairs plus the the number of control virtqueue for us to start and stop the vhost device. Signed-off-by: Jason Wang <jasowang@redhat.com> Message-Id: <20211020045600.16082-7-jasowang@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'include/hw/virtio')
0 files changed, 0 insertions, 0 deletions