Skip to content

Commit

Permalink
Merge pull request #1561 from AkihiroSuda/mark-audio-device-experimental
Browse files Browse the repository at this point in the history
Mark `audio.device` experimental
  • Loading branch information
AkihiroSuda authored May 22, 2023
2 parents 0402418 + 8575d72 commit 9f1aaf9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/experimental.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ The following features are experimental and subject to change:
- `arch: riscv64`
- `video.display: vnc` and relevant configuration (`video.vnc.display`)
- `mode: user-v2` in `networks.yml` and relevant configuration in `lima.yaml`
- `audio.device`

The following flags are experimental and subject to change:

Expand Down
1 change: 1 addition & 0 deletions examples/default.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,7 @@ firmware:
legacyBIOS: null

audio:
# EXPERIMENTAL
# QEMU audiodev, e.g., "none", "coreaudio", "pa", "alsa", "oss".
# VZ driver, use "vz" as device name
# Choosing "none" will mute the audio output, and not play any sound.
Expand Down
3 changes: 3 additions & 0 deletions pkg/limayaml/validate.go
Original file line number Diff line number Diff line change
Expand Up @@ -440,4 +440,7 @@ func warnExperimental(y LimaYAML) {
if y.Video.Display != nil && strings.Contains(*y.Video.Display, "vnc") {
logrus.Warn("`video.display: vnc` is experimental")
}
if y.Audio.Device != nil {
logrus.Warn("`audio.device` is experimental")
}
}

0 comments on commit 9f1aaf9

Please sign in to comment.