From mboxrd@z Thu Jan 1 00:00:00 1970 From: Huang Ying Subject: Re: [PATCH] Add RAM -> physical addr mapping in MCE simulation Date: Mon, 27 Sep 2010 09:12:01 +0800 Message-ID: <1285549921.20791.5.camel@yhuang-dev> References: <1284858033.32373.317.camel@yhuang-dev> <20100920161001.GA24466@amt.cnet> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Cc: Avi Kivity , "kvm@vger.kernel.org" , Andi Kleen , Dean Nelson To: Marcelo Tosatti , "Zheng, Shaohui" , You Yongkang Return-path: Received: from mga09.intel.com ([134.134.136.24]:21503 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753486Ab0I0BMF (ORCPT ); Sun, 26 Sep 2010 21:12:05 -0400 In-Reply-To: <20100920161001.GA24466@amt.cnet> Sender: kvm-owner@vger.kernel.org List-ID: Hi, Marcelo, On Tue, 2010-09-21 at 00:10 +0800, Marcelo Tosatti wrote: > On Sun, Sep 19, 2010 at 09:00:33AM +0800, Huang Ying wrote: > > In QEMU-KVM, physical address != RAM address. While MCE simulation > > needs physical address instead of RAM address. So > > kvm_physical_memory_addr_from_ram() is implemented to do the > > conversion, and it is invoked before being filled in the IA32_MCi_ADDR > > MSR. > > > > Reported-by: Dean Nelson > > Signed-off-by: Huang Ying > > Applied, thanks. > > Can you please submit the code necessary to run the test suite upstream? > Is there anything else needed other than p2v monitor command? The only missing part is p2v monitor command. I will re-post it. Do you want to merge the test suite into kvm autotest tool? If so, Shaohui can help to do that. But it seems that he is busy on some other project now. Best Regards, Huang Ying