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, 19 Nov 2010 16:17:35 +0800 Message-ID: <1290154655.2903.55.camel@yhuang-dev> References: <1289874187.8719.1127.camel@yhuang-dev> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Cc: Anthony Liguori , Marcelo Tosatti , Andi Kleen , Dean Nelson , Luiz Capitulino , "kvm@vger.kernel.org" , Max Asbock To: Avi Kivity Return-path: Received: from mga14.intel.com ([143.182.124.37]:13701 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750952Ab0KSIRi (ORCPT ); Fri, 19 Nov 2010 03:17:38 -0500 In-Reply-To: <1289874187.8719.1127.camel@yhuang-dev> Sender: kvm-owner@vger.kernel.org List-ID: 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. Best Regards, Huang Ying