From: Keir Fraser Subject: Re: [PATCH] HVM guests are allowed to use the entire virtual address space for Date: Tue, 25 May 2010 17:24:58 +0100 Message-ID: References: <20100525151432.GA15976@whitby.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20100525151432.GA15976@whitby.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Tim Deegan Cc: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org On 25/05/2010 16:14, "Tim Deegan" wrote: > At 16:04 +0100 on 25 May (1274803495), Keir Fraser wrote: >> I think this is already handled correctly by guest_access.h, which is what >> really matters. Nowadays copy_{to,from}_user (but not __copy_{to,from}_user) >> are mainly for private usage only by the guest-access macros, and just a few >> other arch-dependent PV_specific bits of code. Of course the __ versions are >> still generally useful as 'copy but catch any fault' functions. > > OK, can I suggest the attached change instead? It brings the > compat guest-handle macros in line with the normal ones. Yeah, that's a good bug fix. Thanks, K.