From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anthony Liguori Subject: Re: [PATCH -v6] QEMU: MCE: Add MCE simulation to qemu/tcg Date: Tue, 30 Jun 2009 13:12:00 -0500 Message-ID: <4A4A5570.1070107@codemonkey.ws> References: <1245722714.22246.424.camel@yhuang-dev.sh.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Avi Kivity , Andi Kleen , "kvm@vger.kernel.org" , qemu-devel@nongnu.org To: Huang Ying Return-path: Received: from mail-ew0-f210.google.com ([209.85.219.210]:33329 "EHLO mail-ew0-f210.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751818AbZF3SME (ORCPT ); Tue, 30 Jun 2009 14:12:04 -0400 Received: by ewy6 with SMTP id 6so425503ewy.37 for ; Tue, 30 Jun 2009 11:12:07 -0700 (PDT) In-Reply-To: <1245722714.22246.424.camel@yhuang-dev.sh.intel.com> Sender: kvm-owner@vger.kernel.org List-ID: 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