From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anthony Liguori Subject: Re: [PATCH -v3] Monitor command: x-gpa2hva, translate guest physical address to host virtual address Date: Thu, 28 Apr 2011 08:00:19 -0500 Message-ID: <4DB964E3.7040602@us.ibm.com> References: <1289874187.8719.1127.camel@yhuang-dev> <1290154655.2903.55.camel@yhuang-dev> <20110427230622.GA2617@amt.cnet> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Huang Ying , Avi Kivity , Andi Kleen , Dean Nelson , Luiz Capitulino , "kvm@vger.kernel.org" , Max Asbock To: Marcelo Tosatti Return-path: Received: from e39.co.us.ibm.com ([32.97.110.160]:40850 "EHLO e39.co.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759562Ab1D1NA3 (ORCPT ); Thu, 28 Apr 2011 09:00:29 -0400 Received: from d03relay02.boulder.ibm.com (d03relay02.boulder.ibm.com [9.17.195.227]) by e39.co.us.ibm.com (8.14.4/8.13.1) with ESMTP id p3SCkn2H002065 for ; Thu, 28 Apr 2011 06:46:49 -0600 Received: from d03av06.boulder.ibm.com (d03av06.boulder.ibm.com [9.17.195.245]) by d03relay02.boulder.ibm.com (8.13.8/8.13.8/NCO v9.1) with ESMTP id p3SD0KwZ132370 for ; Thu, 28 Apr 2011 07:00:21 -0600 Received: from d03av06.boulder.ibm.com (loopback [127.0.0.1]) by d03av06.boulder.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id p3SD5JoK016968 for ; Thu, 28 Apr 2011 07:05:19 -0600 In-Reply-To: <20110427230622.GA2617@amt.cnet> Sender: kvm-owner@vger.kernel.org List-ID: On 04/27/2011 06:06 PM, Marcelo Tosatti wrote: > On Fri, Nov 19, 2010 at 04:17:35PM +0800, Huang Ying wrote: >> On Tue, 2010-11-16 at 10:23 +0800, Huang Ying wrote: >>> Author: Max Asbock >>> >>> Add command x-gpa2hva to translate guest physical address to host >>> virtual address. Because gpa to hva translation is not consistent, so >>> this command is only used for debugging. >>> >>> The x-gpa2hva 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. >>> >>> v3: >>> >>> - Rename to x-gpa2hva >>> - Remove QMP support, because gpa2hva is not consistent >> >> Is this patch an acceptable solution for now? This command is useful for >> our testing. > > Anthony? Yeah, but it should come through qemu-devel, no? Regards, Anthony Liguori > >> >> Best Regards, >> Huang Ying >> >> >> -- >> To unsubscribe from this list: send the line "unsubscribe kvm" in >> the body of a message to majordomo@vger.kernel.org >> More majordomo info at http://vger.kernel.org/majordomo-info.html