From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcelo Tosatti Subject: Re: [PATCH 0/2] Fix MCE not cleared on reset Date: Mon, 12 Jul 2010 15:05:21 -0300 Message-ID: <20100712180520.GA8262@amt.cnet> References: <1278500979-12725-1-git-send-email-avi@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: kvm@vger.kernel.org, Huang Ying To: Avi Kivity Return-path: Received: from mx1.redhat.com ([209.132.183.28]:60584 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751719Ab0GLTRr (ORCPT ); Mon, 12 Jul 2010 15:17:47 -0400 Content-Disposition: inline In-Reply-To: <1278500979-12725-1-git-send-email-avi@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: On Wed, Jul 07, 2010 at 02:09:37PM +0300, Avi Kivity wrote: > Injecting an MCE will often panic the guest kernel. After reset, however, > a new MCE will not be recognized because kvm thinks the first one is still > being processed. > > Fix by exposing the MCE MSRs to userspace, which will clear them on reset. > > Avi Kivity (2): > KVM: Expose MCE control MSRs to userspace > KVM: Document MCE banks non-exposure via KVM_GET_MSR_INDEX_LIST > > Documentation/kvm/api.txt | 4 ++++ > arch/x86/kvm/x86.c | 2 ++ > 2 files changed, 6 insertions(+), 0 deletions(-) Applied, thanks.