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

Re: [Xen-devel] [PATCH 06/29] libxl: Use libxl__xswait* in libxl__ao_device



On Tue, 2015-02-10 at 20:09 +0000, Ian Jackson wrote:
> @@ -1164,7 +1136,7 @@ static void device_hotplug_clean(libxl__gc *gc, 
> libxl__ao_device *aodev)
>  {
>      /* Clean events and check reentrancy */
>      libxl__ev_time_deregister(gc, &aodev->timeout);

You seem to have removed the initialisation of this in a previous hunk
but not this deregistration or the field itself.

Was that deliberate, perhaps it was serving dual purpose somewhere?

> -    libxl__ev_xswatch_deregister(gc, &aodev->xs_watch);
> +    libxl__xswait_stop(gc, &aodev->xswait);
>      assert(!libxl__async_exec_inuse(&aodev->aes));
>  }
>  
> diff --git a/tools/libxl/libxl_internal.h b/tools/libxl/libxl_internal.h
> index 2862c69..5a76d51 100644
> --- a/tools/libxl/libxl_internal.h
> +++ b/tools/libxl/libxl_internal.h
> @@ -2152,7 +2152,7 @@ struct libxl__ao_device {
>      /* Bodge for Qemu devices */
>      libxl__ev_time timeout;
>      /* xenstore watch for backend path of driver domains */
> -    libxl__ev_xswatch xs_watch;
> +    libxl__xswait_state xswait;
>      int num_exec;
>      /* for calling hotplug scripts */
>      libxl__async_exec_state aes;



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