From: Hollis Blanchard Subject: Re: Re: user/hypervisor address space solution Date: Thu, 16 Feb 2006 23:39:32 -0600 Message-ID: References: <1139283935.13776.71.camel@localhost.localdomain> <1139871396.8407.124.camel@localhost.localdomain> <1140000495.23614.27.camel@localhost.localdomain> Mime-Version: 1.0 (Apple Message framework v623) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Fraser Cc: Jimi Xenidis , Dan Magenheimer , xen-devel List-Id: xen-devel@lists.xenproject.org On Feb 15, 2006, at 5:23 AM, Keir Fraser wrote: > > Should be called get_guest/put_guest/copy_from_guest/copy_to_guest. > Better names, and the arch-specific old functions can still keep their > old names. I don't think I understood your full meaning before, but I'm with you now. get/put_user() will still exist on x86 and mean virtual addresses (kernel or user). The new get/put_guest_offset() implementations will be equivalent. PowerPC will implement get/put_guest_offset(), but will not implement get/put_user() at all. If those latter calls do make their way into common code (after the PPC code has been merged), every PPC build in the regression test suite will fail, so the patch will be flagged as bad and not committed. This sounds fine to me, other than that bit about confusing the word "user" to mean "virtual" (since it could of course be a kernel address as well). -- Hollis Blanchard IBM Linux Technology Center