virtio-net: Expose ctrl virtqueue logic
commit640b8a1c588b56349b3307d88459ea1cd86181fb
authorEugenio Pérez <eperezma@redhat.com>
Wed, 20 Jul 2022 06:59:28 +0000 (20 08:59 +0200)
committerJason Wang <jasowang@redhat.com>
Wed, 20 Jul 2022 08:58:08 +0000 (20 16:58 +0800)
treeeeba316249c136ac0cb89db3c45bfa263a7cd64c
parent6758c01f054c2a842d41d927d628b09f649d3254
virtio-net: Expose ctrl virtqueue logic

This allows external vhost-net devices to modify the state of the
VirtIO device model once the vhost-vdpa device has acknowledged the
control commands.

Signed-off-by: Eugenio Pérez <eperezma@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
hw/net/virtio-net.c
include/hw/virtio/virtio-net.h