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

Re: [Xen-devel] [PATCH 23/29] libxl: cancellation: Support cancellation where we spot domain death



On Tue, 2015-02-10 at 20:10 +0000, Ian Jackson wrote:
> Make an active libxl__domaindeathcheck contain an active
> libxl__ao_cancellable.
> 
> Consequential changes are:
>  * domaindeath callbacks now take an rc value.
>  * libxl__domaindeathcheck_start takes an ao, not a gc.
>  * bootloader_domaindeath plumbs the rc through to its caller.
>  * libxl__domaindeathcheck_init and _stop are not quite trivial any
>    more so are moved from (inline functions) in libxl_internal.h, to
>    ordinary functions defined in libxl_event.c.
>  * libxl__domaindeathcheck_start is not trivial any more, and now has
>    the standard error-handling pattern.
> 
> The only current user of libxl__domaindeathcheck is the bootloader.
> So the result is that now it is possible to effectively cancel domain
> creation while the bootloader is running.
> 
> Signed-off-by: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>

Acked-by: Ian Campbell <ian.campbell@xxxxxxxxxx>




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