Thanks to visit codestin.com
Credit goes to github.com

Skip to content

virtio-devices: net: offer VIRTIO_NET_F_GUEST_ANNOUNCE to guests - #8521

Merged
rbradford merged 1 commit into
cloud-hypervisor:mainfrom
amphi:upstream-virtio-net-announcements-fix
Jul 3, 2026
Merged

rbradford merged 1 commit into
cloud-hypervisor:mainfrom
amphi:upstream-virtio-net-announcements-fix

Conversation

@amphi

@amphi amphi commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

This restores VIRTIO_NET_F_GUEST_ANNOUNCE in 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.

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]>
@amphi
amphi requested a review from a team as a code owner July 3, 2026 13:00

@phip1611 phip1611 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@phip1611
phip1611 requested a review from rbradford July 3, 2026 13:22
@rbradford

Copy link
Copy Markdown
Member

Nice - I have a local change for this too. My local version also gates setting the S_ANNOUNCE bit if the feature was acked. I think that's necessary too but I was just verifying that.

@rbradford
rbradford enabled auto-merge July 3, 2026 13:30
@rbradford
rbradford added this pull request to the merge queue Jul 3, 2026
Merged via the queue into cloud-hypervisor:main with commit 4ac2340 Jul 3, 2026
39 checks passed
@github-project-automation github-project-automation Bot moved this from 🆕 New to ✅ Done in Cloud Hypervisor Roadmap Jul 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: ✅ Done

Development

Successfully merging this pull request may close these issues.

3 participants