Hi Andreas,

On Sat, 10 Dec 2022, at 20:40, andschl...@freenet.de wrote:
> 
> Hello dear Qemu community,
> 
> I installed qemu under Windows 11 home and downloaded the following file. 
> kali-linux-2022.4-qemu-amd64.qcow2 and started it with the following command. 
> unfortunately without sound what kind of command do I have to add for sound 
> support.

>  C:\Users\andsc\Desktop\qemu\qemu-system-x86_64.exe -accel whpx -smp 4 -hda 
> net nic,model=virtio -net user --vga qxl -boot strict=on -usbdevice tablet 
> Thank you for your support 

The manual at https://www.qemu.org/docs/master/system/qemu-manpage.html#options 
suggests the -audio option is what you need (QEMU devs: It'd be helpful if each 
category of option could be under a H2 or H3 tag with an ID & anchor so I could 
easily link to the right section)

You did not specify what version of QEMU, I've grabbed 
https://qemu.weilnetz.de/w64/2022/qemu-w64-setup-20221208.exe

qemu-system-x86_64.exe -audio driver=help
Available audio drivers:
none
dsound
jack
sdl
spice
wav

Therefore I'd try 

qemu-system-x86_64.exe -accel whpx -smp 4 -hda net nic,model=virtio -net user 
--vga qxl -boot strict=on -usbdevice tablet -audio driver=dsound

although I don't know if you need to specify guest audio devices too. (again, 
it'd be very helpful if I could directly link to parts of the manual)

--Adam

Reply via email to