mirror of
https://github.com/utmapp/qemu.git
synced 2026-12-01 22:23:23 -10:00
virtio-net: enable vq reset feature
Add virtqueue reset feature for virtio-net Signed-off-by: Xuan Zhuo <[email protected]> Message-Id: <[email protected]> Reviewed-by: Michael S. Tsirkin <[email protected]> Signed-off-by: Michael S. Tsirkin <[email protected]>
This commit is contained in:
1 parent
2a3552baaf
commit
93a97dc520
1 file changed
+1
@@ -788,6 +788,7 @@ static uint64_t virtio_net_get_features(VirtIODevice *vdev, uint64_t features,
|
||||
}
|
||||
|
||||
if (!get_vhost_net(nc->peer)) {
|
||||
virtio_add_feature(&features, VIRTIO_F_RING_RESET);
|
||||
return features;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user