|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] [PATCH 16 of 27 v3] libxl: do not remove unidentified fronte
# 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
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-devel] [PATCH 03 of 27 v3] libxl: idl: use "dispose" rather than "destroy" for function to free IDL types, (continued)
- [Xen-devel] [PATCH 03 of 27 v3] libxl: idl: use "dispose" rather than "destroy" for function to free IDL types, Ian Campbell
- [Xen-devel] [PATCH 04 of 27 v3] libxl: libxl_destroy_cpumap becomes libxl_cpumap_destroy, Ian Campbell
- [Xen-devel] [PATCH 05 of 27 v3] libxl: add a comment describing the device interfaces, Ian Campbell
- [Xen-devel] [PATCH 06 of 27 v3] libxl: various fixes to libxl_device_disk_list (and internals), Ian Campbell
- [Xen-devel] [PATCH 07 of 27 v3] libxl: refactor code to construct disk from xenstore backend, Ian Campbell
- [Xen-devel] [PATCH 08 of 27 v3] libxl: do not read f.e. xenstore dir in disk list function, Ian Campbell
- [Xen-devel] [PATCH 10 of 27 v3] libxl: reimplement devid->nic in terms of from_xs_be function, Ian Campbell
- [Xen-devel] [PATCH 11 of 27 v3] libxl: reimplement devid->disk in terms of from_xs_be function, Ian Campbell
- [Xen-devel] [PATCH 09 of 27 v3] libxl: update nic list API to use common device API style, Ian Campbell
- [Xen-devel] [PATCH 12 of 27 v3] libxl: libxl_devid_to_* should take an integer device id, Ian Campbell
- [Xen-devel] [PATCH 16 of 27 v3] libxl: do not remove unidentified frontend paths in libxl__devices_destroy,
Ian Campbell <=
- [Xen-devel] [PATCH 14 of 27 v3] libxl: split forced and non-forced uses of libxl__device_del, Ian Campbell
- [Xen-devel] [PATCH 18 of 27 v3] libxl: merge libxl__device_del into libxl__device_remove, Ian Campbell
- [Xen-devel] [PATCH 20 of 27 v3] libxl: convert disk handling to device API, Ian Campbell
- [Xen-devel] [PATCH 22 of 27 v3] libxl: remove libxl_device_console_add, Ian Campbell
- [Xen-devel] [PATCH 24 of 27 v3] libxl: convert VFB handling to device API, Ian Campbell
- [Xen-devel] [PATCH 25 of 27 v3] libxl: reorder device functions to put functions for each device together, Ian Campbell
- [Xen-devel] [PATCH 27 of 27 v3] libxl: add a flags argument to libxl_ctx_alloc, Ian Campbell
|
|
|
|
|