From 8575d72fd6507f694236247eed2812fb35a6ba54 Mon Sep 17 00:00:00 2001 From: Akihiro Suda Date: Mon, 22 May 2023 09:27:30 +0900 Subject: [PATCH] Mark `audio.device` experimental The design is still subject to change (PR 1536) Signed-off-by: Akihiro Suda --- docs/experimental.md | 1 + examples/default.yaml | 1 + pkg/limayaml/validate.go | 3 +++ 3 files changed, 5 insertions(+) diff --git a/docs/experimental.md b/docs/experimental.md index da46859d864..b19bd789eda 100644 --- a/docs/experimental.md +++ b/docs/experimental.md @@ -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: diff --git a/examples/default.yaml b/examples/default.yaml index 7768ef9896c..4974e909e19 100644 --- a/examples/default.yaml +++ b/examples/default.yaml @@ -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. diff --git a/pkg/limayaml/validate.go b/pkg/limayaml/validate.go index 7c2a035b97c..73e6f898c71 100644 --- a/pkg/limayaml/validate.go +++ b/pkg/limayaml/validate.go @@ -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") + } }