Skip to content

muvm-guest: pwbridge: fix eventfd resource order#225

Merged
slp merged 1 commit into
AsahiLinux:mainfrom
valpackett:val/prvqpmpzlpsk
May 8, 2026
Merged

muvm-guest: pwbridge: fix eventfd resource order#225
slp merged 1 commit into
AsahiLinux:mainfrom
valpackett:val/prvqpmpzlpsk

Conversation

@valpackett
Copy link
Copy Markdown
Contributor

While the direction depends on which fd index is mentioned in the writefd field and which in the readfd one, the order of the fds must actually be preserved 1:1, because otherwise the indices seen by the guest client code would not match!


Oof, I did not get it right in #204 and then I was wondering why it's broken on arm… 🤦‍♀️ I'll need to retest on x86-64 again but now it makes sense.

Comment thread crates/muvm/src/guest/bridge/pipewire.rs Outdated
While the *direction* depends on which fd index is mentioned in the writefd
field and which in the readfd one, the *order* of the fds must actually
be preserved 1:1, because otherwise the indices seen by the guest client
code would not match!

Signed-off-by: Val Packett <val@invisiblethingslab.com>
@slp slp merged commit 09dfcff into AsahiLinux:main May 8, 2026
2 checks passed
@valpackett valpackett deleted the val/prvqpmpzlpsk branch May 9, 2026 03:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants