From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [PATCH] Monitor command to translate guest physical address to host virtual address Date: Sat, 02 Oct 2010 10:16:15 +0200 Message-ID: <4CA6EA4F.8020201@redhat.com> References: <1285897945.24402.5.camel@yhuang-dev> <20101001225334.GB31596@amt.cnet> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Huang Ying , "kvm@vger.kernel.org" , Andi Kleen , Dean Nelson To: Marcelo Tosatti Return-path: Received: from mx1.redhat.com ([209.132.183.28]:8211 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751682Ab0JBIQd (ORCPT ); Sat, 2 Oct 2010 04:16:33 -0400 In-Reply-To: <20101001225334.GB31596@amt.cnet> Sender: kvm-owner@vger.kernel.org List-ID: On 10/02/2010 12:53 AM, Marcelo Tosatti wrote: > 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. > This should have been copied to qemu-devel so that the monitor people can review it. -- I have a truly marvellous patch that fixes the bug which this signature is too narrow to contain.