search for: libxl_domain_destroy

Displaying 9 results from an estimated 9 matches for "libxl_domain_destroy".

2011 Dec 02
7
libxl: error when destroying domain on NetBSD
...rror on the log file: Waiting for domain test (domid 1) to die [pid 11675] Domain 1 is dead Unknown shutdown reason code 255. Destroying domain. Action for shutdown reason code 255 is destroy Domain 1 needs to be cleaned up: destroying the domain do_domctl failed: errno 3 libxl: error: libxl.c:762:libxl_domain_destroy: xc_domain_pause failed for 1 libxl: error: libxl_dom.c:658:userdata_path: unable to find domain info for domain 1: No such file or directory do_domctl failed: errno 3 libxl: error: libxl.c:787:libxl_domain_destroy: xc_domain_destroy failed for 1 Done. Exiting now The domain is destroyed, but xens...
2012 Aug 15
2
[PATCH] libxl: make domain resume API asynchronous
...15 14:45:21 2012 +0100 +++ b/tools/libxl/xl_cmdimpl.c Wed Aug 15 16:58:21 2012 +0100 @@ -2859,7 +2859,7 @@ static int save_domain(const char *p, co close(fd); if (checkpoint) - libxl_domain_resume(ctx, domid, 1); + libxl_domain_resume(ctx, domid, 1, 0); else libxl_domain_destroy(ctx, domid, 0); @@ -3110,7 +3110,7 @@ static void migrate_domain(const char *d if (common_domname) { libxl_domain_rename(ctx, domid, away_domname, common_domname); } - rc = libxl_domain_resume(ctx, domid, 0); + rc = libxl_domain_resume(ctx, domid, 0, 0...
2011 Jan 22
53
Xen 4.1 rc1 test report
Hi, All Intel QA conducted a full validation for xen 4.1 rc1, it includes VT-x, VT-d, SRIOV, RAS, TXT and xl tools testing. 24 issues were exposed. Refer the bug list, please. We already assigned 14 bugs to Intel developers (which has an ''Intel'' tag in the bug title), most of the rest 10 bugs are related xl command. For the these bugs, need community''s help to fix
2012 Jan 16
13
[PATCH v10 0/7] build upstream qemu and seabios by default
Hi all, this is the tenth version of the patch series to introduce upstream qemu and seabios in the xen-unstable build system. Changes to v9: - rename QEMU_UPSTREAM_TAG to QEMU_UPSTREAM_REVISION: we are going to use it with a branch name by default; - set QEMU_UPSTREAM_REVISION to "master" by default; - set SEABIOS_UPSTREAM_URL to git://xenbits.xen.org/seabios.git by default; - add
2010 Aug 12
0
[PATCH, v2]: xl: Implement per-API-call garbage-collection lifetime
...NO(ctx, XL_LOG_ERROR, "Couldn''t find device model''s pid"); - return ERROR_INVAL; + ret = ERROR_INVAL; + goto out; } XL_LOG(ctx, XL_LOG_ERROR, "Device model is a stubdom, domid=%d\n", stubdomid); - return libxl_domain_destroy(ctx, stubdomid, 0); + ret = libxl_domain_destroy(ctx, stubdomid, 0); + goto out; } - xs_rm(ctx->xsh, XBT_NULL, libxl_sprintf(ctx, "/local/domain/0/device-model/%d", domid)); + xs_rm(ctx->xsh, XBT_NULL, libxl_sprintf(&gc, "/local/domain/0/device-mode...
2010 Aug 18
16
[PATCH 00 of 16] libxl: autogenerate type definitions and destructor functions
The series introduces auto-generation of the type definitions used in the libxl interface followed by auto-generation of a destructor function for each type. In the future it may be possible to use the related data structures for other purposes, for example auto-generation of the functions to marshal between C and language binding data types. tools/_libxl_types.h should be identical both before
2010 Sep 09
2
[PATCH]: add libxl python binding
...quot;cannot shutdown domain"); + return NULL; + } + return Py_None; +} + +static PyObject *pyxl_domain_destroy(XlObject *self, PyObject *args) +{ + int domid, force = 1; + if ( !PyArg_ParseTuple(args, "i|i", &domid, &force) ) + return NULL; + if ( libxl_domain_destroy(&self->ctx, domid, force) ) { + PyErr_SetString(xl_error_obj, "cannot destroy domain"); + return NULL; + } + return Py_None; +} + +static PyMethodDef pyxl_methods[] = { + {"list_domains", (PyCFunction)pyxl_list_domains, METH_NOARGS, + "...
2009 Nov 18
6
[PATCH 1/3] libxenlight: Clean up logging arrangements
...ret = 0; } else { - XL_LOG(ctx, XL_LOG_ERROR, "kill %d returned %d errno=%d\n", atoi(pid), ret, errno); + XL_LOG_ERRNO(ctx, XL_LOG_ERROR, "failed to kill Device Model [%d]", + atoi(pid)); } return ret; } @@ -369,38 +376,40 @@ int libxl_domain_destroy(struct libxl_ctx *ctx, uint32_t domid, int force) { char *dom_path, vm_path[41]; xen_uuid_t *uuid; + int rc; dom_path = libxl_xs_get_dompath(ctx, domid); - if (!dom_path) { - XL_LOG(ctx, XL_LOG_ERROR, "dompath doesn''t exist for %d\n", domid); + i...
2013 Mar 25
86
[PATCH 00/28] libxl: ocaml: improve the bindings
The following series of patches fill in most of the gaps in the OCaml bindings to libxl, to make them useful for clients such as xapi/xenopsd (from XCP). There are a number of bugfixes to the existing bindings as well. I have an experimental version of xenopsd that successfully uses the new bindings. An earlier version of the first half of the series was submitted to the last by Ian Campbell on