From: Marcelo Tosatti Subject: Re: [PATCH] Monitor command to translate guest physical address to host virtual address Date: Fri, 1 Oct 2010 19:53:35 -0300 Message-ID: <20101001225334.GB31596@amt.cnet> References: <1285897945.24402.5.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]:34147 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753371Ab0JAW4O (ORCPT ); Fri, 1 Oct 2010 18:56:14 -0400 Content-Disposition: inline In-Reply-To: <1285897945.24402.5.camel@yhuang-dev> Sender: kvm-owner@vger.kernel.org List-ID: On Fri, Oct 01, 2010 at 09:52:25AM +0800, Huang Ying wrote: > From: Max Asbock > > Add command p2v to translate guest physical address to host virtual > address. > > The p2v command provides one step in a chain of translations from > guest virtual to guest physical to host virtual to host physical. Host > physical is then used to inject a machine check error. As a > consequence the HWPOISON code on the host and the MCE injection code > in qemu-kvm are exercised. > > Signed-off-by: Max Asbock > Signed-off-by: Jiajia Zheng > Signed-off-by: Huang Ying Added missing cpu_physical_memory_unmap and applied, thanks.