[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH 16 of 27 v3] libxl: do not remove unidentified frontend paths in libxl__devices_destroy
# HG changeset patch # User Ian Campbell <ian.campbell@xxxxxxxxxx> # Date 1318941402 -3600 # Node ID 6f8ff4990c5cf5ea9b37ee07df9cc2b118a50c16 # Parent 7f1e0391462078ee1bf572722e958b2ed0e966ef libxl: do not remove unidentified frontend paths in libxl__devices_destroy Currently this appears to only include "/local/domain/<domid>/device/suspend". Ultimately the caller will nuke the whole guest directory anyway but not having this function remove things which don't look like devices seems less surprising. Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxx> diff -r 7f1e03914620 -r 6f8ff4990c5c tools/libxl/libxl_device.c --- a/tools/libxl/libxl_device.c Tue Oct 18 13:36:42 2011 +0100 +++ b/tools/libxl/libxl_device.c Tue Oct 18 13:36:42 2011 +0100 @@ -463,8 +463,6 @@ int libxl__devices_destroy(libxl__gc *gc if (libxl__device_remove(gc, be_path) > 0) n_watches++; } - } else { - xs_rm(ctx->xsh, XBT_NULL, path); } } } _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |