aboutsummaryrefslogtreecommitdiff
path: root/hw/net/virtio-net.c
diff options
context:
space:
mode:
authorXuan Zhuo <xuanzhuo@linux.alibaba.com>2022-10-17 17:25:45 +0800
committerMichael S. Tsirkin <mst@redhat.com>2022-11-07 13:12:19 -0500
commitb3a8d6f431730858162feb2dfcee85d0f3484992 (patch)
tree785f52e0a54b2c312066faa3ce2ae983b8916231 /hw/net/virtio-net.c
parent3b43302c71854b263a4653b708699ce074082158 (diff)
downloadqemu-b3a8d6f431730858162feb2dfcee85d0f3484992.zip
qemu-b3a8d6f431730858162feb2dfcee85d0f3484992.tar.gz
qemu-b3a8d6f431730858162feb2dfcee85d0f3484992.tar.bz2
virtio: introduce virtio_queue_reset()
Introduce a new interface function virtio_queue_reset() to implement reset for vq. Add a new callback to VirtioDeviceClass for queue reset operation for each child device. Signed-off-by: Xuan Zhuo <xuanzhuo@linux.alibaba.com> Acked-by: Jason Wang <jasowang@redhat.com> Message-Id: <20221017092558.111082-3-xuanzhuo@linux.alibaba.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