search for: rwperm

Displaying 4 results from an estimated 4 matches for "rwperm".

Did you mean: roperm
2011 Dec 16
13
[PATCH 0 of 4] Support for VM generation ID save/restore and migrate
This patch series adds support for preservation of the VM generation ID buffer address in xenstore across save/restore and migrate, and also code to increment the value in all cases except for migration. Patch 1 modifies the guest ro and rw node creation to an open coding style and cleans up some extraneous node creation. Patch 2 modifies creation of the hvmloader key in xenstore and adds
2011 Dec 14
18
[PATCH 0 of 3] Support for VM generation ID save/restore and migrate
This patch series adds support for preservation of the VM generation ID buffer address in xenstore across save/restore and migrate, and also code to increment the value in all cases except for migration. The first patch modifies creation of the hvmloader key in xenstore and adds creation of a new read/write hvmloader/generation-id-addr key. The second patch changes hvmloader to use the new key (as
2013 Apr 18
9
[PATCH v5 1/2] libxl: Introduce functions to add and remove USB devices to an HVM guest
...ibxl_domain_create_info *info, libxl_ctx *ctx = libxl__gc_owner(gc); int flags, ret, rc, nb_vm; char *uuid_string; - char *dom_path, *vm_path, *libxl_path; + char *dom_path, *vm_path, *libxl_path, *libxl_usb_path; struct xs_permissions roperm[2]; struct xs_permissions rwperm[1]; struct xs_permissions noperm[1]; @@ -454,6 +454,8 @@ int libxl__domain_make(libxl__gc *gc, libxl_domain_create_info *info, goto out; } + libxl_usb_path = GCSPRINTF("%s/usb", libxl_path); + noperm[0].id = 0; noperm[0].perms = XS_PERM_NONE; @@ -477,6...
2010 Aug 12
0
[PATCH, v2]: xl: Implement per-API-call garbage-collection lifetime
...i < ARRAY_SIZE(rw_paths); i++) { - char *path = libxl_sprintf(ctx, "%s/%s", dom_path, rw_paths[i]); + char *path = libxl_sprintf(&gc, "%s/%s", dom_path, rw_paths[i]); xs_mkdir(ctx->xsh, t, path); xs_set_permissions(ctx->xsh, t, path, rwperm, ARRAY_SIZE(rwperm)); - libxl_free(ctx, path); } for (i = 0; i < ARRAY_SIZE(ro_paths); i++) { - char *path = libxl_sprintf(ctx, "%s/%s", dom_path, ro_paths[i]); + char *path = libxl_sprintf(&gc, "%s/%s", dom_path, ro_paths[i]); xs_m...