Lines Matching refs:vm_path
200 char *vm_path; in libxl_domain_preserve() local
223 vm_path = GCSPRINTF("/vm/%s", uuid_string); in libxl_domain_preserve()
224 if (!vm_path) { in libxl_domain_preserve()
237 xs_rm(ctx->xsh, t, vm_path); in libxl_domain_preserve()
238 xs_mkdir(ctx->xsh, t, vm_path); in libxl_domain_preserve()
239 xs_set_permissions(ctx->xsh, t, vm_path, roperm, ARRAY_SIZE(roperm)); in libxl_domain_preserve()
241 xs_write(ctx->xsh, t, GCSPRINTF("%s/vm", dom_path), vm_path, strlen(vm_path)); in libxl_domain_preserve()
248 xs_write(ctx->xsh, t, GCSPRINTF("%s/uuid", vm_path), uuid_string, strlen(uuid_string)); in libxl_domain_preserve()
1063 char *vm_path; in devices_destroy_cb() local
1075 vm_path = libxl__xs_read(gc, XBT_NULL, GCSPRINTF("%s/vm", dom_path)); in devices_destroy_cb()
1076 if (vm_path) in devices_destroy_cb()
1077 if (!xs_rm(ctx->xsh, XBT_NULL, vm_path)) in devices_destroy_cb()
1078 LOGED(ERROR, domid, "xs_rm failed for %s", vm_path); in devices_destroy_cb()
1450 char *vm_path, *start_time; in libxl_vm_get_start_time() local
1453 vm_path = libxl__xs_read( in libxl_vm_get_start_time()
1456 gc, XBT_NULL, GCSPRINTF("%s/start_time", vm_path)); in libxl_vm_get_start_time()