From: Jan Kiszka Date: Sat, 15 Jan 2011 09:00:53 +0000 (+0100) Subject: KVM: x86: Remove user space triggerable MCE error message X-Git-Tag: v2.6.39-rc1~436^2~44 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9ca523183166343fde060e2198237bb345b8a77d;p=platform%2Fkernel%2Flinux-3.10.git KVM: x86: Remove user space triggerable MCE error message This case is a pure user space error we do not need to record. Moreover, it can be misused to flood the kernel log. Remove it. Signed-off-by: Jan Kiszka Signed-off-by: Marcelo Tosatti --- diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c index 4be89e1..5eccdba 100644 --- a/arch/x86/kvm/x86.c +++ b/arch/x86/kvm/x86.c @@ -2575,9 +2575,6 @@ static int kvm_vcpu_ioctl_x86_set_mce(struct kvm_vcpu *vcpu, if (mce->status & MCI_STATUS_UC) { if ((vcpu->arch.mcg_status & MCG_STATUS_MCIP) || !kvm_read_cr4_bits(vcpu, X86_CR4_MCE)) { - printk(KERN_DEBUG "kvm: set_mce: " - "injects mce exception while " - "previous one is in progress!\n"); kvm_make_request(KVM_REQ_TRIPLE_FAULT, vcpu); return 0; }