From mboxrd@z Thu Jan 1 00:00:00 1970 From: Huang Ying Subject: Re: [PATCH -v2] QEMU-KVM: MCE: Relay UCR MCE to guest Date: Wed, 16 Sep 2009 09:09:06 +0800 Message-ID: <1253063346.15717.366.camel@yhuang-dev.sh.intel.com> References: <1252463282.5212.44.camel@yhuang-dev.sh.intel.com> <4AA79A31.9070600@redhat.com> <1252550406.5212.133.camel@yhuang-dev.sh.intel.com> <20090910093539.GB19428@basil.fritz.box> <1252896913.15717.137.camel@yhuang-dev.sh.intel.com> <4AADD060.8060100@redhat.com> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Cc: Andi Kleen , Anthony Liguori , "kvm@vger.kernel.org" To: Avi Kivity Return-path: Received: from mga01.intel.com ([192.55.52.88]:19163 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753012AbZIPBJE (ORCPT ); Tue, 15 Sep 2009 21:09:04 -0400 In-Reply-To: <4AADD060.8060100@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: On Mon, 2009-09-14 at 13:10 +0800, Avi Kivity wrote: > On 09/14/2009 05:55 AM, Huang Ying wrote: > > Hi, Avi, > > > > On Thu, 2009-09-10 at 17:35 +0800, Andi Kleen wrote: > > > >>>> (also, I if we can't handle guest-mode SIGBUS I think it would be nice > >>>> to raise it again so the process terminates due to the SIGBUS). > >>>> > >>> For SIGBUS we can not relay to guest as MCE, we can either abort or > >>> reset SIGBUS to SIGDFL and re-raise it. Both are OK for me. You prefer > >>> the latter one? > >>> > >> I think a suitable error message and exit would be better than a plain > >> signal kill. It shouldn't look like qemu crashed due to a software > >> bug. Ideally a error message in a way that it can be parsed by libvirt etc. > >> and reported in a suitable way. > >> > > Do you agree with us about SIGBUS processing? > > > > Yes. Do you have some other issue for this patch? Best Regards, Huang Ying