[SHADOW] Clean up the DOM0_SHADOW_OP interface.

Also bump the dom0 interface version for tools (but
not for dom0 kernel!).
Signed-off-by: Keir Fraser <keir@xensource.com>
This commit is contained in:
kfraser@localhost.localdomain committed 2006-08-22 18:50:01 +01:00
1 parent 23e735cadd
commit 07f2bdb30d
8 files changed
+95 -67

No files matched your search

+2 -2
View File
@@ -709,11 +709,11 @@ static PyObject *pyxc_shadow_mem_control(PyObject *self,
return NULL;
if ( mbarg < 0 )
op = DOM0_SHADOW2_CONTROL_OP_GET_ALLOCATION;
op = DOM0_SHADOW_CONTROL_OP_GET_ALLOCATION;
else
{
mb = mbarg;
op = DOM0_SHADOW2_CONTROL_OP_SET_ALLOCATION;
op = DOM0_SHADOW_CONTROL_OP_SET_ALLOCATION;
}
if ( xc_shadow_control(xc->xc_handle, dom, op, NULL, 0, &mb, 0, NULL) < 0 )
return PyErr_SetFromErrno(xc_error);
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.