Re: [PATCH v4] qemu-kvm: Make PC speaker emulation aware of in-kernel PIT

2009-05-31 Thread Jan Kiszka
Marcelo Tosatti wrote: On Thu, May 14, 2009 at 10:43:05PM +0200, Jan Kiszka wrote: When using the in-kernel PIT the speaker emulation has to synchronize the PIT state with KVM. Enhance the existing speaker sound device and allow it to take over port 0x61 by using KVM_CREATE_PIT2 where

Re: [PATCH v4] qemu-kvm: Make PC speaker emulation aware of in-kernel PIT

2009-05-31 Thread Avi Kivity
Jan Kiszka wrote: Would be nice to avoid sprinkling KVM details inside hw/pcspk.c though but that is another problem. Does this remark prevent merging the patch ATM? It doesn't, so I applied the patch. Thanks. -- error compiling committee.c: too many arguments to function -- To

Re: [PATCH v4] qemu-kvm: Make PC speaker emulation aware of in-kernel PIT

2009-05-15 Thread Marcelo Tosatti
On Thu, May 14, 2009 at 10:43:05PM +0200, Jan Kiszka wrote: When using the in-kernel PIT the speaker emulation has to synchronize the PIT state with KVM. Enhance the existing speaker sound device and allow it to take over port 0x61 by using KVM_CREATE_PIT2 where available. This unbreaks

[PATCH v4] qemu-kvm: Make PC speaker emulation aware of in-kernel PIT

2009-05-14 Thread Jan Kiszka
When using the in-kernel PIT the speaker emulation has to synchronize the PIT state with KVM. Enhance the existing speaker sound device and allow it to take over port 0x61 by using KVM_CREATE_PIT2 where available. This unbreaks -soundhw pcspk in KVM mode. Changes in v4: - preserve full PIT state