Re: [Qemu-devel] Re: Question about KVM and PC speaker

2009-05-14 Thread Sebastian Herbszt
malc wrote: On Wed, 13 May 2009, Sebastian Herbszt wrote: Jan Kiszka wrote: Moreover, does sound work at all with your qemu? The image I tried [1] issues two beeps after loading (obviously via direct hw access) - a good way to check general support. Note that one reason for broken host

Re: [Qemu-devel] Re: Question about KVM and PC speaker

2009-05-14 Thread malc
On Thu, 14 May 2009, Sebastian Herbszt wrote: malc wrote: On Wed, 13 May 2009, Sebastian Herbszt wrote: Jan Kiszka wrote: Moreover, does sound work at all with your qemu? The image I tried [1] issues two beeps after loading (obviously via direct hw access) - a good way to

Re: [Qemu-devel] Re: Question about KVM and PC speaker

2009-05-12 Thread Jan Kiszka
Sebastian Herbszt wrote: Jan Kiszka wrote: Sebastian Herbszt wrote: Anyway, using timer ticks since midnight should be possible (INT 08h handler is set up before vga bios is called). I have implemented the beep for vgabios-6b and it works on bochs but fails on qemu. With -soundhw pcspk i

Re: [Qemu-devel] Re: Question about KVM and PC speaker

2009-05-12 Thread malc
On Wed, 13 May 2009, Sebastian Herbszt wrote: Jan Kiszka wrote: Sebastian Herbszt wrote: With the modified vgabios (see below) it does beep on bochs on vista, but not on qemu. Works fine for me! Did you check twice that your modified vgabios is actually loaded by qemu (e.g.

Re: [Qemu-devel] Re: Question about KVM and PC speaker

2009-05-09 Thread Sebastian Herbszt
Jan Kiszka wrote: Sebastian Herbszt wrote: Jan Kiszka wrote: Sebastian Herbszt wrote: Simon Bienlein wrote: Is a support for BIOS worked on right now? The vgabios (vgabios.c) has a FIXME should beep. Volker, do you plan to fix this? Which frequency should be used for the beep? Which

Re: [Qemu-devel] Re: Question about KVM and PC speaker

2009-05-07 Thread Jan Kiszka
Sebastian Herbszt wrote: Jan Kiszka wrote: Sebastian Herbszt wrote: Simon Bienlein wrote: Is a support for BIOS worked on right now? The vgabios (vgabios.c) has a FIXME should beep. Volker, do you plan to fix this? Which frequency should be used for the beep? Which delay? I would try 1

Re: [Qemu-devel] Re: Question about KVM and PC speaker

2009-05-06 Thread Jan Kiszka
Sebastian Herbszt wrote: Simon Bienlein wrote: Is a support for BIOS worked on right now? The vgabios (vgabios.c) has a FIXME should beep. Volker, do you plan to fix this? Which frequency should be used for the beep? Which delay? I would try 1 KHz and some hundred milliseconds. Getting

Re: [Qemu-devel] Re: Question about KVM and PC speaker

2009-05-06 Thread Sebastian Herbszt
Jan Kiszka wrote: Sebastian Herbszt wrote: Simon Bienlein wrote: Is a support for BIOS worked on right now? The vgabios (vgabios.c) has a FIXME should beep. Volker, do you plan to fix this? Which frequency should be used for the beep? Which delay? I would try 1 KHz and some hundred

Re: [Qemu-devel] Re: Question about KVM and PC speaker

2009-05-05 Thread Simon Bienlein
Hello Jan, Am 04.05.2009 23:00, schrieb Jan Kiszka: Samuel Thibault wrote: Jan Kiszka, le Mon 04 May 2009 22:29:39 +0200, a écrit : When I boot the VM from the Lenny CD, there is no audible signal tone. Hmm, I successfully tested with '-soundbw pcspk' + my patches or -no-kvm-pit. There is

Re: [Qemu-devel] Re: Question about KVM and PC speaker

2009-05-05 Thread Sebastian Herbszt
Simon Bienlein wrote: Is a support for BIOS worked on right now? The vgabios (vgabios.c) has a FIXME should beep. Volker, do you plan to fix this? Which frequency should be used for the beep? Which delay? Getting a delay using inb(0x61) 0x10 is still a no go on qemu, right? - Sebastian --

Re: [Qemu-devel] Re: Question about KVM and PC speaker

2009-05-04 Thread Simon Bienlein
Hello Jan, thank you very much for processing my request. I [1]patched the KVM sources from Lenny and created a new Debian packet. When I boot the VM from the Lenny CD, there is no audible signal tone. It does not make a difference whether I start the KVM with or without the option

Re: [Qemu-devel] Re: Question about KVM and PC speaker

2009-05-04 Thread Jan Kiszka
Simon Bienlein wrote: Hello Jan, thank you very much for processing my request. I [1]patched the KVM sources from Lenny and created a new Debian packet. Did you patch both kernel and user space? Note that my kernel patch was against the kernel git repository, not against the external modules

Re: [Qemu-devel] Re: Question about KVM and PC speaker

2009-05-04 Thread Jan Kiszka
Samuel Thibault wrote: Jan Kiszka, le Mon 04 May 2009 22:29:39 +0200, a écrit : When I boot the VM from the Lenny CD, there is no audible signal tone. Hmm, I successfully tested with '-soundbw pcspk' + my patches or -no-kvm-pit. There is probably a different, unrelated issue with your setup.

Re: [Qemu-devel] Re: Question about KVM and PC speaker

2009-05-04 Thread Samuel Thibault
Jan Kiszka, le Mon 04 May 2009 22:29:39 +0200, a écrit : When I boot the VM from the Lenny CD, there is no audible signal tone. Hmm, I successfully tested with '-soundbw pcspk' + my patches or -no-kvm-pit. There is probably a different, unrelated issue with your setup. Remember that the

Re: [Qemu-devel] Re: Question about KVM and PC speaker

2009-04-23 Thread Jan Kiszka
Avi Kivity wrote: Jan Kiszka wrote: Huh, it is! Then the problem is a KVM-only thing: The kernel part hooks onto those resources but doesn't communicate changes to this user space backend. In this case, the -no-kvm-pit option should help. Probably fine in many cases (where the PIT is

Re: [Qemu-devel] Re: Question about KVM and PC speaker

2009-04-23 Thread Avi Kivity
Jan Kiszka wrote: Avi Kivity wrote: Jan Kiszka wrote: Huh, it is! Then the problem is a KVM-only thing: The kernel part hooks onto those resources but doesn't communicate changes to this user space backend. In this case, the -no-kvm-pit option should help. Probably

Re: [Qemu-devel] Re: Question about KVM and PC speaker

2009-04-23 Thread Jan Kiszka
Avi Kivity wrote: Jan Kiszka wrote: Avi Kivity wrote: Jan Kiszka wrote: Huh, it is! Then the problem is a KVM-only thing: The kernel part hooks onto those resources but doesn't communicate changes to this user space backend. In this case, the -no-kvm-pit option should