From: Marcelo Tosatti Date: Wed, 8 Apr 2009 16:14:19 +0000 (-0300) Subject: KVM: PIT: fix count read and mode 0 handling X-Git-Tag: v2.6.31-rc1~393^2~76 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ede2ccc51742059d356d419260460cbbf3e36273;p=pandora-kernel.git KVM: PIT: fix count read and mode 0 handling 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. Signed-off-by: Marcelo Tosatti Signed-off-by: Avi Kivity --- Reading git-diff-tree failed