|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] [PATCH 13 of 23] libxl: do not remove unidentified frontend
# HG changeset patch
# User Ian Campbell <ian.campbell@xxxxxxxxxx>
# Date 1317389248 -3600
# Node ID e5a70a3b61a1acfa7d73db548a591486024d01b7
# Parent e8cff01ad4b5519be66e726db124cbdfab4f1e04
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 e8cff01ad4b5 -r e5a70a3b61a1 tools/libxl/libxl_device.c
--- a/tools/libxl/libxl_device.c Fri Sep 30 14:27:28 2011 +0100
+++ b/tools/libxl/libxl_device.c Fri Sep 30 14:27:28 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 00 of 23] libxl: rationalise libxl_device_* APIs, Ian Campbell
- [Xen-devel] [PATCH 01 of 23] libxl: remove hard tabs from non-generated *.[ch], Ian Campbell
- [Xen-devel] [PATCH 04 of 23] libxl: refactor code to construct disk from xenstore backend, Ian Campbell
- [Xen-devel] [PATCH 06 of 23] libxl: update nic list API to use common device API style, Ian Campbell
- [Xen-devel] [PATCH 08 of 23] libxl: reimplement devid->disk in terms of from_xs_be function, Ian Campbell
- [Xen-devel] [PATCH 05 of 23] libxl: do not read f.e. xenstore dir in disk list function, Ian Campbell
- [Xen-devel] [PATCH 02 of 23] libxl: add a comment describing the device interfaces, Ian Campbell
- [Xen-devel] [PATCH 11 of 23] libxl: split forced and non-forced uses of libxl__device_del, Ian Campbell
- [Xen-devel] [PATCH 13 of 23] libxl: do not remove unidentified frontend paths in libxl__devices_destroy,
Ian Campbell <=
- [Xen-devel] [PATCH 09 of 23] libxl: libxl_devid_to_* should take an integer device id, Ian Campbell
- [Xen-devel] [PATCH 12 of 23] libxl: use IDL to define device front- and back-end kinds, Ian Campbell
- [Xen-devel] [PATCH 07 of 23] libxl: reimplement devid->nic in terms of from_xs_be function, Ian Campbell
- [Xen-devel] [PATCH 10 of 23] libxl: separate forced and non-forced device remove, Ian Campbell
- [Xen-devel] [PATCH 03 of 23] libxl: various fixes to libxl_device_disk_list (and internals), Ian Campbell
- [Xen-devel] [PATCH 14 of 23] libxl: use libxl__device in libxl_devices_destroy and libxl__device_pci_remove_xenstore, Ian Campbell
- [Xen-devel] [PATCH 16 of 23] libxl: use more descriptive variable names in libxl__devices_destroy, Ian Campbell
- [Xen-devel] [PATCH 17 of 23] libxl: convert disk handling to device API, Ian Campbell
- [Xen-devel] [PATCH 15 of 23] libxl: merge libxl__device_del into libxl__device_remove, Ian Campbell
- [Xen-devel] [PATCH 18 of 23] libxl: convert NIC handling to device API, Ian Campbell
|
|
|
|
|