From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MLhoT-0007Kx-SB for qemu-devel@nongnu.org; Tue, 30 Jun 2009 14:12:13 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MLhoP-0007JN-9q for qemu-devel@nongnu.org; Tue, 30 Jun 2009 14:12:13 -0400 Received: from [199.232.76.173] (port=42996 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MLhoP-0007JI-5e for qemu-devel@nongnu.org; Tue, 30 Jun 2009 14:12:09 -0400 Received: from mail-ew0-f211.google.com ([209.85.219.211]:33423) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MLhoO-0002lT-I4 for qemu-devel@nongnu.org; Tue, 30 Jun 2009 14:12:08 -0400 Received: by ewy7 with SMTP id 7so396498ewy.34 for ; Tue, 30 Jun 2009 11:12:07 -0700 (PDT) Message-ID: <4A4A5570.1070107@codemonkey.ws> Date: Tue, 30 Jun 2009 13:12:00 -0500 From: Anthony Liguori MIME-Version: 1.0 References: <1245722714.22246.424.camel@yhuang-dev.sh.intel.com> In-Reply-To: <1245722714.22246.424.camel@yhuang-dev.sh.intel.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed 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: Huang Ying Cc: Andi Kleen , Avi Kivity , "kvm@vger.kernel.org" , qemu-devel@nongnu.org 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? Regards, Anthony Liguori