From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MNzxH-0007DN-0e for qemu-devel@nongnu.org; Mon, 06 Jul 2009 21:58:47 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MNzxC-0007CC-7C for qemu-devel@nongnu.org; Mon, 06 Jul 2009 21:58:46 -0400 Received: from [199.232.76.173] (port=55555 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MNzxC-0007C9-2R for qemu-devel@nongnu.org; Mon, 06 Jul 2009 21:58:42 -0400 Received: from mga02.intel.com ([134.134.136.20]:10128) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MNzxB-0002N9-Kn for qemu-devel@nongnu.org; Mon, 06 Jul 2009 21:58:41 -0400 From: Huang Ying In-Reply-To: <4A4A5570.1070107@codemonkey.ws> References: <1245722714.22246.424.camel@yhuang-dev.sh.intel.com> <4A4A5570.1070107@codemonkey.ws> Content-Type: text/plain Date: Tue, 07 Jul 2009 09:58:20 +0800 Message-Id: <1246931900.5282.94.camel@yhuang-dev.sh.intel.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] Re: [PATCH -v6] QEMU: MCE: Add MCE simulation to qemu/tcg List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: Andi Kleen , Avi Kivity , "kvm@vger.kernel.org" , "qemu-devel@nongnu.org" Hi, Anthony, On Wed, 2009-07-01 at 02:12 +0800, Anthony Liguori wrote: > Hi Huang, > > Huang Ying wrote: > > - MCE features are initialized when VCPU is intialized according to CPUID. > > - A monitor command "mce" is added to inject a MCE. > > - A new interrupt mask: CPU_INTERRUPT_MCE is added to inject the MCE. > > > > Can you post some instructions on how to test this functionality? For > instance, I believe Linux is capable of delivering a SIGBUS to a process > based on certain MCE's. I'm not sure what the steps would be though to > create a process using a particular physical memory address, generate a > MCE for that address, and then inspect that the process received the signal. > > Are you testing the patches via something like that? It seems that MCE patch has not been merged into qemu.git yet. Does it failed in some tests in stage? Best Regards, Huang Ying