search for: domain_ioport_permission

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

2007 Dec 13
5
cant start domU w/ pci [Error: function takes exactly 4 arguments (3 given)]
..._ports = size, allow_access = True) TypeError: function takes exactly 4 arguments (3 given) the python file where it fails : 158 for (start, size) in dev.ioports: 159 log.debug(''pci: enabling ioport 0x%x/0x%x''%(start,size)) 160 rc = xc.domain_ioport_permission(dom = fe_domid, first_port = start, 161 nr_ports = size, allow_access = True) 162 if rc<0: 163 raise VmError((''pci: failed to configure I/O ports on device ''+ 164 ''%s - errno=%d...
2006 Aug 30
3
arch-specific xc.c code?
...kwds, "ii", kwd_list, + &dom, &log) ) + return NULL; + + if ( xc_alloc_real_mode_area(self->xc_handle, dom, log) ) + return PyErr_SetFromErrno(xc_error); + + Py_INCREF(zero); + return zero; +} + static PyObject *pyxc_domain_ioport_permission(XcObject *self, PyObject *args, PyObject *kwds) @@ -1088,6 +1108,14 @@ static PyMethodDef pyxc_methods[] = { "Increase a domain''s memory reservation\n" " dom [int]:...