KVM: VMX: Add printk_ratelimit in vmx_intr_assist
authorRyan Harper <ryanh@us.ibm.com>
Thu, 13 Dec 2007 16:21:10 +0000 (10:21 -0600)
committerAvi Kivity <avi@qumranet.com>
Wed, 30 Jan 2008 15:58:10 +0000 (17:58 +0200)
commit9584bf2c93f56656dba0de8f6c75b54ca7995143
tree9aa33ae6c4e11cef1552e6dfe5085460e3baa076
parent0711456c0d78335d24e4f92aa40d32c78fd44aa8
KVM: VMX: Add printk_ratelimit in vmx_intr_assist

Add printk_ratelimit check in front of printk.  This prevents spamming
of the message during 32-bit ubuntu 6.06server install.  Previously, it
would hang during the partition formatting stage.

Signed-off-by: Ryan Harper <ryanh@us.ibm.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
drivers/kvm/vmx.c