KVM: x86: limit PIT timer frequency
authorMarcelo Tosatti <mtosatti@redhat.com>
Mon, 6 Jan 2014 14:00:02 +0000 (12:00 -0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 6 Feb 2014 19:08:12 +0000 (11:08 -0800)
commit512f3430cf8aa7047245d94904af8df210bf4ecd
tree511244fd36dd88ed6d401653bfe2a2815d82bb3a
parent5a45f3d11a80155ef9997cb1389a9213f9801f7f
KVM: x86: limit PIT timer frequency

commit 9ed96e87c5748de4c2807ef17e81287c7304186c upstream.

Limit PIT timer frequency similarly to the limit applied by
LAPIC timer.

Reviewed-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/x86/kvm/i8254.c
arch/x86/kvm/lapic.c
arch/x86/kvm/x86.c
arch/x86/kvm/x86.h