Jan,
While the patch itself looks fine, IMO it would be better to move all of
the timer handling to userspace, except the performance critical parts,
since most of it is generic. Either periodic or one-shot timer, with:
- PIO or MMIO region returns remaining time for expiration.
- PIO or MMIO region programs the next event and timer mode.
Oversimplified of course (kvm_timer_ops was the first step in that
direction). I believe there will be a proposed HPET in-kernel driver.
I don't see what is the problem with partial components that Avi talks
about.
On Thu, Apr 23, 2009 at 10:24: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_PIT_NOSPKR when
> available. This unbreaks -soundhw pcspk in KVM mode.
>
> Signed-off-by: Jan Kiszka <[email protected]>
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html