Lines Matching refs:vm_path
217 char *vm_path; in libxl_domain_preserve() local
240 vm_path = GCSPRINTF("/vm/%s", uuid_string); in libxl_domain_preserve()
241 if (!vm_path) { in libxl_domain_preserve()
254 xs_rm(ctx->xsh, t, vm_path); in libxl_domain_preserve()
255 xs_mkdir(ctx->xsh, t, vm_path); in libxl_domain_preserve()
256 xs_set_permissions(ctx->xsh, t, vm_path, roperm, ARRAY_SIZE(roperm)); in libxl_domain_preserve()
258 xs_write(ctx->xsh, t, GCSPRINTF("%s/vm", dom_path), vm_path, strlen(vm_path)); in libxl_domain_preserve()
265 xs_write(ctx->xsh, t, GCSPRINTF("%s/uuid", vm_path), uuid_string, strlen(uuid_string)); in libxl_domain_preserve()
1516 char *vm_path; in devices_destroy_cb() local
1532 vm_path = libxl__xs_read(gc, XBT_NULL, GCSPRINTF("%s/vm", dom_path)); in devices_destroy_cb()
1533 if (vm_path) in devices_destroy_cb()
1534 if (!xs_rm(ctx->xsh, XBT_NULL, vm_path)) in devices_destroy_cb()
1535 LOGED(ERROR, domid, "xs_rm failed for %s", vm_path); in devices_destroy_cb()
2214 char *vm_path, *start_time; in libxl_vm_get_start_time() local
2217 vm_path = libxl__xs_read( in libxl_vm_get_start_time()
2220 gc, XBT_NULL, GCSPRINTF("%s/start_time", vm_path)); in libxl_vm_get_start_time()