[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH v3 4/6] xen: introduce XEN_GUEST_HANDLE_PARAM



>>> On 16.08.12 at 17:54, "Jan Beulich" <JBeulich@xxxxxxxx> wrote:
> Seeing the patch I btw realized that there's no easy way to
> avoid having the type as a second argument in the conversion
> macros. Nevertheless I still don't like the explicitly specified type
> there.

Btw - on the architecture(s) where the two handles are identical
I would prefer you to make the conversion functions trivial (and
thus avoid making use of the "type" parameter), thus allowing
the type checking to occur that you currently circumvent.

Jan


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.