This, along with "pa", is the other case where the libvirt and
QEMU names do not match.

Signed-off-by: Andrea Bolognani <abolo...@redhat.com>
---
 src/qemu/qemu_domain.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/qemu/qemu_domain.c b/src/qemu/qemu_domain.c
index a8401bac30..1f7d71bf0f 100644
--- a/src/qemu/qemu_domain.c
+++ b/src/qemu/qemu_domain.c
@@ -3496,6 +3496,8 @@ qemuDomainDefSuggestDefaultAudioBackend(virQEMUDriver 
*driver,
              */
             if (STREQ(audioenv, "pa")) {
                 *audioBackend = VIR_DOMAIN_AUDIO_TYPE_PULSEAUDIO;
+            } else if (STREQ(audioenv, "wav")) {
+                *audioBackend = VIR_DOMAIN_AUDIO_TYPE_FILE;
             } else {
                 if (((*audioBackend) = 
virDomainAudioTypeTypeFromString(audioenv)) < 0) {
                     virReportError(VIR_ERR_CONFIG_UNSUPPORTED,
-- 
2.34.1

Reply via email to