aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libxl/libxl_internal.h
diff options
context:
space:
mode:
authorStefano Stabellini <stefano.stabellini@eu.citrix.com>2011-02-17 19:50:44 +0000
committerStefano Stabellini <stefano.stabellini@eu.citrix.com>2011-02-17 19:50:44 +0000
commit0cfffb1f9ebea14a17761700690d85f118823644 (patch)
tree0794f98939ae2a4bc0a316b3e47c510e1e2329df /tools/libxl/libxl_internal.h
parent7b289f9e42acbea5058fe5ce916affcdfabc4e66 (diff)
downloadxen-0cfffb1f9ebea14a17761700690d85f118823644.tar.gz
xen-0cfffb1f9ebea14a17761700690d85f118823644.tar.bz2
xen-0cfffb1f9ebea14a17761700690d85f118823644.zip
libxl: remove the entries from xenstore when destroying a disk
Currently we are only changing the backend state but it is not enough to entirely destroying a disk device: remove all the entries from xenstore as well. Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com> Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
Diffstat (limited to 'tools/libxl/libxl_internal.h')
-rw-r--r--tools/libxl/libxl_internal.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/libxl/libxl_internal.h b/tools/libxl/libxl_internal.h
index 26dffcf717..bc6dfa7d49 100644
--- a/tools/libxl/libxl_internal.h
+++ b/tools/libxl/libxl_internal.h
@@ -186,6 +186,8 @@ _hidden int libxl__device_disk_dev_number(char *virtpath);
_hidden int libxl__device_generic_add(libxl_ctx *ctx, libxl__device *device,
char **bents, char **fents);
+_hidden char *libxl__device_backend_path(libxl__gc *gc, libxl__device *device);
+_hidden char *libxl__device_frontend_path(libxl__gc *gc, libxl__device *device);
_hidden int libxl__device_del(libxl_ctx *ctx, libxl__device *dev, int wait);
_hidden int libxl__device_destroy(libxl_ctx *ctx, char *be_path, int force);
_hidden int libxl__devices_destroy(libxl_ctx *ctx, uint32_t domid, int force);