From: Xiao Guangrong <xiaoguangr...@cn.fujitsu.com> fix:
arch/x86/kvm/svm.c: In function ‘svm_handle_mce’: arch/x86/kvm/svm.c:1490: warning: unused variable ‘kvm_run’ Signed-off-by: Xiao Guangrong <xiaoguangr...@cn.fujitsu.com> Signed-off-by: Avi Kivity <a...@redhat.com> diff --git a/arch/x86/kvm/svm.c b/arch/x86/kvm/svm.c index 298918e..9c68a65 100644 --- a/arch/x86/kvm/svm.c +++ b/arch/x86/kvm/svm.c @@ -1487,8 +1487,6 @@ static void svm_handle_mce(struct vcpu_svm *svm) * Erratum 383 triggered. Guest state is corrupt so kill the * guest. */ - struct kvm_run *kvm_run = svm->vcpu.run; - pr_err("KVM: Guest triggered AMD Erratum 383\n"); set_bit(KVM_REQ_TRIPLE_FAULT, &svm->vcpu.requests); -- To unsubscribe from this list: send the line "unsubscribe kvm-commits" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html