From: Aurelien Jarno Date: Fri, 2 May 2008 15:02:23 +0000 (+0200) Subject: KVM: PIT: support mode 3 X-Git-Tag: v2.6.27-rc1~968^2~60 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f697554515b06e8d7264f316b25e6da943407142;p=pandora-kernel.git KVM: PIT: support mode 3 The in-kernel PIT emulation ignores pending timers if operating under mode 3, which for example Hurd uses. This mode should output a square wave, high for (N+1)/2 counts and low for (N-1)/2 counts. As we only care about the resulting interrupts, the period is N, and mode 3 is the same as mode 2 with regard to interrupts. Signed-off-by: Aurelien Jarno Signed-off-by: Avi Kivity --- Reading git-diff-tree failed