From mboxrd@z Thu Jan 1 00:00:00 1970 From: Huang Ying Subject: Re: [PATCH -v3] Monitor command: x-gpa2hva, translate guest physical address to host virtual address Date: Fri, 29 Apr 2011 08:30:25 +0800 Message-ID: <4DBA06A1.3040309@intel.com> References: <1289874187.8719.1127.camel@yhuang-dev> <1290154655.2903.55.camel@yhuang-dev> <20110427230622.GA2617@amt.cnet> <4DB964E3.7040602@us.ibm.com> <20110428140426.GA8707@amt.cnet> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Anthony Liguori , Avi Kivity , Andi Kleen , Dean Nelson , Luiz Capitulino , "kvm@vger.kernel.org" , Max Asbock To: Marcelo Tosatti Return-path: Received: from mga14.intel.com ([143.182.124.37]:31911 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754483Ab1D2Aa2 (ORCPT ); Thu, 28 Apr 2011 20:30:28 -0400 In-Reply-To: <20110428140426.GA8707@amt.cnet> Sender: kvm-owner@vger.kernel.org List-ID: On 04/28/2011 10:04 PM, Marcelo Tosatti wrote: > On Thu, Apr 28, 2011 at 08:00:19AM -0500, Anthony Liguori wrote: >> 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? > > Yes, Huang Ying, can you please resend? Via QEMU git or uq/master branch of KVM git? Best Regards, Huang Ying