libxl: do not remove unidentified frontend paths in libxl__devices_destroy
authorIan Campbell <ian.campbell@citrix.com>
Tue, 18 Oct 2011 12:36:42 +0000 (13:36 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Tue, 18 Oct 2011 12:36:42 +0000 (13:36 +0100)
commit9d76e3ae60d8ddbe33e9dcccc6e0cd5a04309341
treefc2878e15dcd698fcced8c6f99d02b16cf5f7839
parent08ae462e0656c7e5ecae9e4fa1d571ea9cd9e5b3
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@citrix.com>
Acked-by: Ian Jackson <ian.jackson.citrix.com>
Committed-by: Ian Jackson <ian.jackson.citrix.com>
tools/libxl/libxl_device.c