From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ncg96-0002cW-KN for qemu-devel@nongnu.org; Wed, 03 Feb 2010 09:23:56 -0500 Received: from [199.232.76.173] (port=58814 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ncg96-0002c9-29 for qemu-devel@nongnu.org; Wed, 03 Feb 2010 09:23:56 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1Ncg95-0000BS-17 for qemu-devel@nongnu.org; Wed, 03 Feb 2010 09:23:55 -0500 Received: from e1.ny.us.ibm.com ([32.97.182.141]:53883) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Ncg94-0000B4-64 for qemu-devel@nongnu.org; Wed, 03 Feb 2010 09:23:54 -0500 Received: from d01relay01.pok.ibm.com (d01relay01.pok.ibm.com [9.56.227.233]) by e1.ny.us.ibm.com (8.14.3/8.13.1) with ESMTP id o13EKJZ2000546 for ; Wed, 3 Feb 2010 09:20:19 -0500 Received: from d01av02.pok.ibm.com (d01av02.pok.ibm.com [9.56.224.216]) by d01relay01.pok.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id o13ENqTn062972 for ; Wed, 3 Feb 2010 09:23:52 -0500 Received: from d01av02.pok.ibm.com (loopback [127.0.0.1]) by d01av02.pok.ibm.com (8.14.3/8.13.1/NCO v10.0 AVout) with ESMTP id o13ENqhG000517 for ; Wed, 3 Feb 2010 12:23:52 -0200 Message-ID: <4B6986F6.5000808@linux.vnet.ibm.com> Date: Wed, 03 Feb 2010 08:23:50 -0600 From: Anthony Liguori MIME-Version: 1.0 Subject: Re: [Qemu-devel] [Patch] Support translating Guest physical address to Host virtual address. References: <4B60B28A.40400@linux.vnet.ibm.com> <1264631460.29051.35.camel@w-amax.beaverton.ibm.com> <4B697D04.7070507@linux.vnet.ibm.com> <46D41A8912DCCF4FB93FA509BD00C63101E79CA0@irsmsx002.ger.corp.intel.com> In-Reply-To: <46D41A8912DCCF4FB93FA509BD00C63101E79CA0@irsmsx002.ger.corp.intel.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Kleen, Andi" Cc: "lmr@redhat.com" , "Li, Haicheng" , Max Asbock , "qemu-devel@nongnu.org" , "Zheng, Jiajia" , "You, Yongkang" , "avi@redhat.com" On 02/03/2010 08:11 AM, Kleen, Andi wrote: > >> If you want to integrate MCE testing into qemu using the host >> to inject >> MCEs, you'll need to figure out a way to do it that allows the whole >> thing to be done without potentially killing the wrong process or >> > In the test it's very simple. The process is kept running during > the injection. With that its addresses do not change. > > So that problem is already solved. > > The feature doesn't aim to be a general feature for normal users, > it's merely for QA. > Yeah, but if we put a feature in qemu, we need to be able to support it for anyone who wants to use it. Adding something for a very particular test suite that won't work in normal circumstances is just asking for trouble IMHO. I still don't really understand all the pieces that are involved here. Why do we need a guest physical address? Are we testing reflecting MCEs from the host into a guest? Since that functionality isn't in qemu aren't we putting the cart before the horse here? Regards, Anthony Liguori