From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcelo Tosatti Subject: Re: [PATCH] Add RAM -> physical addr mapping in MCE simulation Date: Mon, 20 Sep 2010 13:10:01 -0300 Message-ID: <20100920161001.GA24466@amt.cnet> References: <1284858033.32373.317.camel@yhuang-dev> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Avi Kivity , "kvm@vger.kernel.org" , Andi Kleen , Dean Nelson To: Huang Ying Return-path: Received: from mx1.redhat.com ([209.132.183.28]:5928 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752767Ab0ITQKj (ORCPT ); Mon, 20 Sep 2010 12:10:39 -0400 Content-Disposition: inline In-Reply-To: <1284858033.32373.317.camel@yhuang-dev> Sender: kvm-owner@vger.kernel.org List-ID: 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? TIA