KVM: x86: limit PIT timer frequency
authorMarcelo Tosatti <mtosatti@redhat.com>
Mon, 6 Jan 2014 14:00:02 +0000 (12:00 -0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 15 Jan 2014 11:43:54 +0000 (12:43 +0100)
commit9ed96e87c5748de4c2807ef17e81287c7304186c
treee16371f8aedac885b770d1db402b03847f519b8e
parent37f6a4e237303549c8676dfe1fd1991ceab512eb
KVM: x86: limit PIT timer frequency

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

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