From: Keir Fraser Subject: Re: [PATCH v2] Allow guests to register secondary vcpu_time_info Date: Tue, 20 Oct 2009 08:31:24 +0100 Message-ID: References: <4ADCFAFE.3020202@goop.org> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4ADCFAFE.3020202@goop.org> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Jeremy Fitzhardinge Cc: Xen-devel List-Id: xen-devel@lists.xenproject.org On 20/10/2009 00:49, "Jeremy Fitzhardinge" wrote: > On 10/20/09 07:16, Jeremy Fitzhardinge wrote: >> Looks OK. One thing: if it's using __copy_to_guest, should it first >> test the handle with guest_handle_okay()? >> > > Oh, I see it happens at the hypercall. I guess the results of the test > can't be invalidated. Indeed. Also your original patch used __copy_to_guest. -- Keir