From mboxrd@z Thu Jan 1 00:00:00 1970 From: Luiz Capitulino Subject: Re: [PATCH -v3] Monitor command: x-gpa2hva, translate guest physical address to host virtual address Date: Fri, 29 Apr 2011 10:14:26 -0300 Message-ID: <20110429101426.33a761db@doriath> 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> <4DBA06A1.3040309@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Marcelo Tosatti , Anthony Liguori , Avi Kivity , Andi Kleen , Dean Nelson , "kvm@vger.kernel.org" , Max Asbock To: Huang Ying Return-path: Received: from mx1.redhat.com ([209.132.183.28]:54059 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751510Ab1D2NOi (ORCPT ); Fri, 29 Apr 2011 09:14:38 -0400 In-Reply-To: <4DBA06A1.3040309@intel.com> Sender: kvm-owner@vger.kernel.org List-ID: On Fri, 29 Apr 2011 08:30:25 +0800 Huang Ying wrote: > 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? If there isn't anything qemu-kvm.git specific, it should be against qemu.git.