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

Re: [Xen-devel] [PATCH] libxl: unconst the event argument to the event_occurs hook.



On Fri, Apr 26, 2013 at 12:42 PM, Ian Campbell <ian.campbell@xxxxxxxxxx> wrote:
> The event is supposed to become owned, and therefore freed, by the application
> and the const prevents this.
>
> Unfortunately there is no way to remove the const without breaking existing
> callers. The best we can do is use the LIBXL_API_VERSION provisions to remove
> the const for callers who wish only to support the 4.3 API and newer.
>
> Callers who wish to support 4.2 will need to live with casting away the const.
>
> Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
> Cc: Ian.Jackson@xxxxxxxxxx
> Cc: George.Dunlap@xxxxxxxxx

Ah, I wondered why I didn't receive this in my work inbox -- you're
missing the 'r' in Citrix.

It seems like this is necessary for a bug fix in the libvirt side; it
would have been nice to have this earlier in the release cycle, but
it's too late to worry about that now. :-)

Re the release:

Acked-by: George Dunlap <george.dunlap@xxxxxxxxxxxxx>

_______________________________________________
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®.