22.11.2022 07:24, yin...@tutanota.com wrote:
Package: qemu-system-x86
Version: 1:5.2+dfsg-11+deb11u2

===Error message===
Error changing VM configuration: unsupported configuration: unknown audio type 
'pulseaudio'

===Steps to reproduce===
1) Create a VM.
2) Remove the default sound card.
3) Edit VM config to use the following anywhere in <devices>:

<sound model='ich9'>
  <codec type='micro'/>
  <audio id='1'/>
</sound>
<audio id='1' type='pulseaudio' serverName='/run/user/1000/pulse/native'/>

I thought setting it to 'pa' would work but it didn't. I tried 'pulseaudio', 
'pulse', and 'pa'. Neither worked.

I was about to help you but decided to let you deal with this one.
Instead of trying various stuff which is not documented to work
(hint: there's just one name for the pulseaudio driver in qemu).

RHEL(I  used AlmaLinux 9) has a separate package named "qemu-kvm-audio-pa". I 
installed it and tried to make a VM and it works there but not under Debian. This problem 
seems to be Debian specific.

Here's a hint for you.

/mjt

Reply via email to