Andres Lagar-Cavilla
2009-Dec-02 17:57 UTC
[Xen-devel] [PATCH 1/7] libxenlight resend: refactor libxl destroy code
Refactor libxl device destroy code. Abstract function waiting for the watch on the state node to fire. Create a generic device delete function. Only a single LIBXL_DESTROY_TIMEOUT elapses when waiting for destruction of all the devices of a domain. Signed-off-by: Andres Lagar-Cavilla <andres@lagarcavilla.com> _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Andres Lagar-Cavilla
2009-Dec-02 22:11 UTC
[Xen-devel] Re: [PATCH 1/7] libxenlight resend: refactor libxl destroy code
Re-resend against 20568:aa0b5558564f, plus the patch I just submitted for cloning contexts. The rest of the patches in the series need no modifications afaik. Thanks, Andres Andres Lagar-Cavilla wrote:> Refactor libxl device destroy code. Abstract function > waiting for the watch on the state node to fire. > Create a generic device delete function. > > Only a single LIBXL_DESTROY_TIMEOUT elapses when > waiting for destruction of all the devices of a > domain. > > Signed-off-by: Andres Lagar-Cavilla <andres@lagarcavilla.com> >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Stefano Stabellini
2009-Dec-03 12:21 UTC
[Xen-devel] Re: [PATCH 1/7] libxenlight resend: refactor libxl destroy code
On Wed, 2 Dec 2009, Andres Lagar-Cavilla wrote:> Re-resend against 20568:aa0b5558564f, plus the patch I just submitted > for cloning contexts. The rest of the patches in the series need no > modifications afaik.The patch looks good apart from the fact that you should move clone.xsh = xs_daemon_open(); into libxl_clone_context, see my comment to your previous patch. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Andres Lagar-Cavilla
2009-Dec-03 17:03 UTC
[Xen-devel] [PATCH 1/7] libxenlight meta-resend: refactor libxl destroy code
Refactor libxl device destroy code. Abstract function waiting for the watch on the state node to fire. Create a generic device delete function. Only a single LIBXL_DESTROY_TIMEOUT elapses when waiting for destruction of all the devices of a domain. Signed-off-by: Andres Lagar-Cavilla <andres@lagarcavilla.com> _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel