Skip to content

Commit 9f1aaf9

Browse files
authored
Merge pull request #1561 from AkihiroSuda/mark-audio-device-experimental
Mark `audio.device` experimental
2 parents 0402418 + 8575d72 commit 9f1aaf9

File tree

3 files changed

+5
-0
lines changed

3 files changed

+5
-0
lines changed

docs/experimental.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ The following features are experimental and subject to change:
77
- `arch: riscv64`
88
- `video.display: vnc` and relevant configuration (`video.vnc.display`)
99
- `mode: user-v2` in `networks.yml` and relevant configuration in `lima.yaml`
10+
- `audio.device`
1011

1112
The following flags are experimental and subject to change:
1213

examples/default.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -255,6 +255,7 @@ firmware:
255255
legacyBIOS: null
256256

257257
audio:
258+
# EXPERIMENTAL
258259
# QEMU audiodev, e.g., "none", "coreaudio", "pa", "alsa", "oss".
259260
# VZ driver, use "vz" as device name
260261
# Choosing "none" will mute the audio output, and not play any sound.

pkg/limayaml/validate.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -440,4 +440,7 @@ func warnExperimental(y LimaYAML) {
440440
if y.Video.Display != nil && strings.Contains(*y.Video.Display, "vnc") {
441441
logrus.Warn("`video.display: vnc` is experimental")
442442
}
443+
if y.Audio.Device != nil {
444+
logrus.Warn("`audio.device` is experimental")
445+
}
443446
}

0 commit comments

Comments
 (0)