Re:Re:Re:Re: Fwd: qemu no sound

2022-12-19 Thread Helge Konetzka

Hello Andreas,

I noticed that many questions in the qemu-discus maling list are not 
answered here? Doesn't anyone use qemu on Windows and doesn't know the 
command how to start qemu-system-x86_64.exe with sound support? Where 
are the developers of Qemu? it would be very nice if you would give 
support for your project.


I already wrote an answer on qemu-devel list 
(https://lists.gnu.org/archive/html/qemu-devel/2022-12/msg02445.html). 
Here it is:


I'm focussing on your sound problem, so I did not test with kali image. 
This command works for me on Windows 10 22H2 using a 
Msys2/Mingw64-Bash-Shell with Qemu 7.1.94:


qemu-system-x86_64 \
 -M q35 \
 -accel whpx,kernel-irqchip=off \
 -m 1536 \
 -audiodev id=audio0,driver=dsound \
 -device ich9-intel-hda -device hda-duplex,audiodev=audio0 \
 -cdrom openSUSE-Leap-15.3-GNOME-Live-x86_64-Media.iso

"-audiodev id=audio0,driver=dsound" defines, how the host provides the 
sound
"-device ich9-intel-hda -device hda-duplex,audiodev=audio0" refers to 
the sound provider and creates sound devices for the guest.


Maybe the whole command can be a starting point, too.

I did not use "-vga qxl" here, because this implies spice usage which 
adds more complexity because the spice client needs to communicate with 
qemu.

"-M q35" defines a more current computer than leaving it out

Regards,
Helge.




Re:Re:Re:Re: Fwd: qemu no sound

2022-12-19 Thread andschlick


   
   .fr-emoticon.fr-emoticon-img {

   background-repeat: no-repeat !important;
   font-size: inherit;
   height: 1em;
   width: 1em;
   min-height: 20px;
   min-width: 20px;
   display: inline-block;
   margin: -0.1em 0.1em 0.1em;
   line-height: 1;
   vertical-align: middle;
   }
   .fr-emoticon {
   font-weight: normal;
   font-family: "Apple Color Emoji","Segoe UI Emoji","NotoColorEmoji","Segoe 
UI Symbol","Android Emoji","EmojiSymbols";
   display: inline;
   line-height: 0;
   }
   
Hello, 
I noticed that many questions in the qemu-discus maling list are not answered here? Doesnt anyone use qemu on Windows and doesnt know the command how to start qemu-system-x86_64.exe with sound support? Where are the developers of Qemu? it would be very nice if you would give support for your project. 
best regards
Andreas Schlick