virtio-devices: net: offer VIRTIO_NET_F_GUEST_ANNOUNCE to guests - #8521
Conversation
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 [email protected] Signed-off-by: Sebastian Eydam <[email protected]>
phip1611
left a comment
There was a problem hiding this comment.
I can confirm that this line was missing and that with this line, GARP-packages (+ RARP packages) are discovered by our internal test suite and without it, only RARP packages. Thanks for fixing!
Super nit: per spec, VIRTIO_NET_F_GUEST_ANNOUNCE needs VIRTIO_NET_F_CTRL_VQ - If we ever make VIRTIO_NET_F_CTRL_VQ optional for whatever reason, we must make sure that VIRTIO_NET_F_GUEST_ANNOUNCE is also not advertised. No need to change it here but I want to raise awareness.
|
Nice - I have a local change for this too. My local version also gates setting the |
This restores
VIRTIO_NET_F_GUEST_ANNOUNCEin virtio-net feature advertisement. The bit was accidentally dropped during #8263, so guest never saw it offered.@phip1611 noticed the missing line (big thanks to him!)
We backported #8263 onto our Cyberus branch and ran our tests to make sure everything works.