Re: KVM: PIT: fix count read and mode 0 handling

Avi Kivity
2009-04-09T15:30:17Z

Marcelo Tosatti wrote:
> Commit 46ee278652f4cbd51013471b64c7897ba9bcd1b1 causes Solaris 10
> to hang on boot.
>
> Assuming that PIT counter reads should return 0 for an expired timer
> is wrong: when it is active, the counter never stops (see comment on
> __kpit_elapsed).
>
> Also arm a one shot timer for mode 0.
>

Applied, thanks.

--
Do not meddle in the internals of kernels, for they are subtle and quick to panic.