search for: xlobject

Displaying 2 results from an estimated 2 matches for "xlobject".

Did you mean: lobject
2010 Sep 09
2
[PATCH]: add libxl python binding
...+{ + return fixed_bytearray_get(libxl_uuid_bytearray(pptr), 16); +} + +PyObject *attrib__struct_in_addr_get(struct in_addr *pptr) +{ + return NULL; +} + +typedef struct { + PyObject_HEAD; + libxl_ctx ctx; + xentoollog_logger_stdiostream *logger; + xentoollog_level minmsglevel; +} XlObject; + +static PyObject *pyxl_list_domains(XlObject *self) +{ + libxl_dominfo *cur, *info; + PyObject *list; + int nr_dom, i; + + info = libxl_list_domain(&self->ctx, &nr_dom); + if ( NULL == info ) + return PyList_New(0); + + list = PyList_New(nr_dom); + if ( NUL...
2012 May 15
5
[PATCH 0 of 4 v3] Add commands to automatically prep devices for pass-through
Add commands to automatically prep devices for pass-through The current method for passing through devices requires users to either modify cryptic Linux boot parameters and reboot, or do a lot of manual reads and writes into sysfs nodes. This set of patches introduces commands to make this easier. It expands on the concept of "assignable" (from the list_assignable_devices command).