Marcelo Tosatti ece15babfa KVM: PIT: support mode 4
The in-kernel PIT emulation ignores pending timers if operating under
mode 4, which for example DragonFlyBSD uses (and Plan9 too, apparently).

Mode 4 seems to be similar to one-shot mode, other than the fact that it
starts counting after the next CLK pulse once programmed, while mode 1
starts counting immediately, so add a FIXME to enhance precision.

Fixes sourceforge bug 1952988.

Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Acked-by: Sheng Yang <sheng.yang@intel.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
2008-05-04 14:44:46 +03:00
..
2008-05-04 14:44:46 +03:00
2008-04-27 12:01:22 +03:00
2008-05-01 08:03:58 -07:00
2008-05-04 14:44:42 +03:00
2008-05-04 14:44:34 +03:00
2008-05-04 14:44:34 +03:00
2008-05-04 14:44:42 +03:00
2008-05-04 14:44:42 +03:00