Skip to content

Remove builtin virtio-snd device#654

Merged
slp merged 1 commit into
containers:mainfrom
mtjhrc:remove-snd
May 13, 2026
Merged

Remove builtin virtio-snd device#654
slp merged 1 commit into
containers:mainfrom
mtjhrc:remove-snd

Conversation

@mtjhrc
Copy link
Copy Markdown
Collaborator

@mtjhrc mtjhrc commented Apr 28, 2026

The builtin virtio-snd device is not very actively maintained and has been planned for removal in 2.0. For libkrun 2.0, user are expected to either use vhost-user-snd using the newly added vhost-user support or pipewire passthrough via virtio-gpu cross-domain.

This removes:

  • The virtio-snd device implementation (src/devices/src/virtio/snd/)
  • The 'snd' feature flag from all crates
  • The pipewire (pw) dependency from devices
  • The krun_set_snd_device() C API and KRUN_FEATURE_SND constant
  • CI references to the snd feature and libpipewire-0.3-dev

@mtjhrc mtjhrc added the 2.0 label Apr 28, 2026
@mtjhrc mtjhrc marked this pull request as ready for review May 6, 2026 15:45
The builtin virtio-snd device is not actively maintained or tested and
has been superseded by vhost-user-snd. Remove it as part of the libkrun
2.0 breaking changes.

This removes:
- The virtio-snd device implementation (src/devices/src/virtio/snd/)
- The 'snd' feature flag from all crates
- The pipewire (pw) dependency from devices
- The krun_set_snd_device() C API and KRUN_FEATURE_SND constant
- CI references to the snd feature and libpipewire-0.3-dev

Signed-off-by: Matej Hrica <mhrica@redhat.com>
Copy link
Copy Markdown
Collaborator

@slp slp left a comment

Choose a reason for hiding this comment

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

Nice, let's drop some weight.

@slp slp merged commit 7e5c6c4 into containers:main May 13, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants