KVM: limit lapic periodic timer frequency
authorMarcelo Tosatti <mtosatti@redhat.com>
Tue, 28 Jul 2009 02:41:01 +0000 (23:41 -0300)
committerAvi Kivity <avi@redhat.com>
Thu, 10 Sep 2009 05:33:17 +0000 (08:33 +0300)
commit1444885a045fe3b1905a14ea1b52540bf556578b
tree204bbcfa479942245d957fd9d2dbe94ecbcfbc9d
parent5f0269f5d72f622514daec9af158c32e933800b6
KVM: limit lapic periodic timer frequency

Otherwise its possible to starve the host by programming lapic timer
with a very high frequency.

Cc: stable@kernel.org
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/lapic.c