search for: libxl__xs_writev

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

Did you mean: libxl_xs_writev
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
2012 Jan 05
1
[PATCH] add feature flag to xenstore for XS_RESET_WATCHES
...e buggy toolstacks (such as EC2) do not ignore unknown commands properly. Signed-off-by: Olaf Hering <olaf@aepfle.de> diff -r 3a22ed3ec534 -r 2f5a98692acd tools/libxl/libxl_create.c --- a/tools/libxl/libxl_create.c +++ b/tools/libxl/libxl_create.c @@ -434,6 +434,7 @@ retry_transaction: libxl__xs_writev(gc, t, libxl__sprintf(gc, "%s/platform", dom_path), info->platformdata); xs_write(ctx->xsh, t, libxl__sprintf(gc, "%s/control/platform-feature-multiprocessor-suspend", dom_path), "1", 1); + xs_write(ctx->xsh, t, libxl__sprintf(gc, "%s/control/pl...
2013 Apr 18
9
[PATCH v5 1/2] libxl: Introduce functions to add and remove USB devices to an HVM guest
...e"); + + for(;;) { + rc = libxl__xs_transaction_start(gc, &t); + if (rc) goto out; + + /* Helpfully, mkdir returns 0 on failure, 1 on success */ + rc = libxl__xs_mkdir(gc, t, dev_path, noperm, ARRAY_SIZE(noperm)); + if (!rc) goto out; + + /* And libxl__xs_writev *always* returns 0 no matter what */ + libxl__xs_writev(gc, t, dev_path, + libxl__xs_kvs_of_flexarray(gc, dev, dev->count)); + + rc = libxl__xs_transaction_commit(gc, &t); + if (!rc) break; + if (rc <0) goto out; + } + +out: + retu...