Displaying 3 results from an estimated 3 matches for "libxl_wait_for_device_model".
2009 Nov 18
6
[PATCH 1/3] libxenlight: Clean up logging arrangements
...207,7 @@ int libxl_device_pci_add(struct libxl_ctx *ctx, uint32_t domid, libxl_device_pci
snprintf(path, sizeof(path), "/local/domain/0/device-model/%d/command", domid);
xs_write(ctx->xsh, XBT_NULL, path, "pci-ins", strlen("pci-ins"));
if (libxl_wait_for_device_model(ctx, domid, "pci-inserted") < 0)
- XL_LOG(ctx, XL_LOG_ERROR, "Device Model didn''t respond in time\n");
+ XL_LOG(ctx, XL_LOG_ERROR, "Device Model didn''t respond in time");
snprintf(path, sizeof(path), "/local/doma...
2010 Aug 12
0
[PATCH, v2]: xl: Implement per-API-call garbage-collection lifetime
...libxl_xs_write(ctx, XBT_NULL, libxl_sprintf(ctx, "/local/domain/0/device-model/%d/command", domid), "continue");
+ libxl_xs_write(&gc, XBT_NULL, libxl_sprintf(&gc, "/local/domain/0/device-model/%d/command", domid), "continue");
libxl_wait_for_device_model(ctx, domid, "running", NULL, NULL);
}
}
ret = xc_domain_unpause(ctx->xch, domid);
if (ret<0) {
XL_LOG_ERRNO(ctx, XL_LOG_ERROR, "unpausing domain %d", domid);
- return ERROR_FAIL;
+ rc = ERROR_FAIL;
}
- return 0;
+ l...
2010 Aug 19
17
xl fails to work with some command
...ading new save file incoming migration stream (new xl fmt info 0x0/0x0/15122)
Savefile contains xl domain config
xc: Saving memory: iter 0 (last sent 0 skipped 0): 98334/1048576 9%xc: error: Failed to allocate memory for batch.!: Internal error
libxl: error: libxl_device.c:438:libxl_wait_for_device_model Device Model not ready
xl: fatal error: xl_cmdimpl.c:1466, rc=-1: libxl_confirm_device_model_startup(&ctx, dm_starting)
xc: error: Error when writing to state file (4c) (errno 32) (32 = Broken pipe): Internal error
libxl: error: libxl_utils.c:328:libxl_write_exactly failed to...