KVM: limit lapic periodic timer frequency
commitd1dbc751eb2a4aaf628cc9dac6954e1bd1afc531
authorMarcelo Tosatti <mtosatti@redhat.com>
Fri, 18 Sep 2009 23:08:05 +0000 (18 20:08 -0300)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 5 Oct 2009 15:27:56 +0000 (5 08:27 -0700)
tree9a2fc8195db260062260b64158c6675cb3a1b0f4
parent322622336aace4c8fbf9e97a96f9cfa91d3cefac
KVM: limit lapic periodic timer frequency

(cherry picked from commit 1444885a045fe3b1905a14ea1b52540bf556578b)

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

Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/x86/kvm/lapic.c