summaryrefslogtreecommitdiffstats
path: root/hw/net/virtio-net.c
diff options
context:
space:
mode:
authorJason Wang2021-10-20 06:55:58 +0200
committerMichael S. Tsirkin2021-10-20 10:44:05 +0200
commit049eb15b5fc9c54ae76254a196b695000127da7a (patch)
treef0ad6a3a82302ddbe400ecd68aac45c5168bfdd3 /hw/net/virtio-net.c
parentvirtio-net: use "queue_pairs" instead of "queues" when possible (diff)
downloadqemu-049eb15b5fc9c54ae76254a196b695000127da7a.tar.gz
qemu-049eb15b5fc9c54ae76254a196b695000127da7a.tar.xz
qemu-049eb15b5fc9c54ae76254a196b695000127da7a.zip
vhost: record the last virtqueue index for the virtio device
This patch introduces a new field in the vhost_dev structure to record the last virtqueue index for the virtio device. This will be useful for the vhost backends with 1:N model to start or stop the device after all the vhost_dev structures were started or stopped. Signed-off-by: Jason Wang <jasowang@redhat.com> Message-Id: <20211020045600.16082-9-jasowang@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/net/virtio-net.c')
0 files changed, 0 insertions, 0 deletions