From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcelo Tosatti Subject: Re: [PATCH -v3] Monitor command: x-gpa2hva, translate guest physical address to host virtual address Date: Thu, 28 Apr 2011 11:04:26 -0300 Message-ID: <20110428140426.GA8707@amt.cnet> References: <1289874187.8719.1127.camel@yhuang-dev> <1290154655.2903.55.camel@yhuang-dev> <20110427230622.GA2617@amt.cnet> <4DB964E3.7040602@us.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Huang Ying , Avi Kivity , Andi Kleen , Dean Nelson , Luiz Capitulino , "kvm@vger.kernel.org" , Max Asbock To: Anthony Liguori , Huang Ying Return-path: Received: from mx1.redhat.com ([209.132.183.28]:52427 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932429Ab1D1Ozc (ORCPT ); Thu, 28 Apr 2011 10:55:32 -0400 Content-Disposition: inline In-Reply-To: <4DB964E3.7040602@us.ibm.com> Sender: kvm-owner@vger.kernel.org List-ID: 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?