virtio-devices: net: offer VIRTIO_NET_F_GUEST_ANNOUNCE to guests

The virtio-net guest announce feature bit was accidentally dropped
during upstreaming, so the device never advertised it to guests. Restore
the feature offer for virtio-net.

On-behalf-of: SAP sebastian.eydam@sap.com
Signed-off-by: Sebastian Eydam <sebastian.eydam@cyberus-technology.de>
This commit is contained in:
Sebastian Eydam
2026-07-03 14:52:18 +02:00
committed by Rob Bradford
parent 629151481b
commit 4ac2340c1f

View File

@@ -599,6 +599,7 @@ impl Net {
avail_features |= 1 << VIRTIO_NET_F_CTRL_VQ;
avail_features |= 1 << VIRTIO_NET_F_STATUS;
avail_features |= 1 << VIRTIO_NET_F_GUEST_ANNOUNCE;
let queue_num = num_queues + 1;
let mut config = VirtioNetConfig::default();