Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add pipewire cross domain channel type. #248

Merged
merged 1 commit into from
Jan 17, 2025

Conversation

WhatAmISupposedToPutHere
Copy link
Contributor

This extends the already existing wayland/x11 cross domain channel to also work for sharing pipewire between host and guest. The necessary changes are eventfd support (inspired by how wayland pipes are handled), a few fixes to sharing shm buffers, and a new protocol version that supports more fds per message (pw can sometimes send more than 4).

@WhatAmISupposedToPutHere
Copy link
Contributor Author

Clippy errors appear to be unrelated to the code actually changed by this PR.

@slp
Copy link
Contributor

slp commented Jan 14, 2025

Please update src/cross_domain/sys/stub.rs to reflect the changes in done in the implementation. That should fix the build error on macOS.

This adds a pipewire channel type, increases the maximum number
of fds that can be transferred in a single message, and adds support
for sharing eventfds between the guest and host.

Signed-off-by: Sasha Finkelstein <fnkl.kernel@gmail.com>
@slp slp merged commit 4367d85 into containers:main Jan 17, 2025
5 checks passed
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.

2 participants