aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/kvm/vmx.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/kvm/vmx.c b/drivers/kvm/vmx.c
index 7e61a560aab5..11ca2340d38f 100644
--- a/drivers/kvm/vmx.c
+++ b/drivers/kvm/vmx.c
@@ -2263,7 +2263,8 @@ static void vmx_intr_assist(struct kvm_vcpu *vcpu)
2263 if (intr_info_field & INTR_INFO_VALID_MASK) { 2263 if (intr_info_field & INTR_INFO_VALID_MASK) {
2264 if (idtv_info_field & INTR_INFO_VALID_MASK) { 2264 if (idtv_info_field & INTR_INFO_VALID_MASK) {
2265 /* TODO: fault when IDT_Vectoring */ 2265 /* TODO: fault when IDT_Vectoring */
2266 printk(KERN_ERR "Fault when IDT_Vectoring\n"); 2266 if (printk_ratelimit())
2267 printk(KERN_ERR "Fault when IDT_Vectoring\n");
2267 } 2268 }
2268 if (has_ext_irq) 2269 if (has_ext_irq)
2269 enable_irq_window(vcpu); 2270 enable_irq_window(vcpu);