From: Ian Campbell Subject: Re: Designing the N-level event channel registration interface Date: Fri, 11 Jan 2013 12:57:25 +0000 Message-ID: <1357909045.20328.71.camel@zakaz.uk.xensource.com> References: <1357907663.27635.46.camel@iceland> <50F0181A02000078000B4C5F@nat28.tlf.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <50F0181A02000078000B4C5F@nat28.tlf.novell.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Jan Beulich Cc: Wei Liu , David Vrabel , "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org On Fri, 2013-01-11 at 12:48 +0000, Jan Beulich wrote: > >>> On 11.01.13 at 13:34, Wei Liu wrote: > > Ian suggested I use XEN_GUEST_HANDLE_64 to get 64-bit clean version and > > avoid compat layer. > > So far these exist only in tools interfaces, and the way x86's > set_xen_guest_handle() works currently you wouldn't even be > permitted to use those (as the upper halves would remain > uninitialized, hence expected to fail the validity checks within > the hypervisor). Yes, if we extend the usage we'd need to add the initialisation of the other half. > Also, they're inefficient in terms of kernel side use (albeit in the > case here we're talking about only one time setup code). Right.