diff options
author | Marcelo Tosatti <mtosatti@redhat.com> | 2009-04-08 12:14:19 -0400 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2009-06-10 04:48:39 -0400 |
commit | ede2ccc51742059d356d419260460cbbf3e36273 (patch) | |
tree | 9a38010c1d6c2fcdb3d566b2d154d5f8f6a14680 /include | |
parent | 2906e79f21a559e49611e1e188c4993cd45d9ce1 (diff) |
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 <mtosatti@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions