The override function was copied&pasted from virConnectGetAllDomainStats and the function name after the collon was not changed. Fix the issue as an invalid name would appear in the error message. --- libvirt-override.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libvirt-override.c b/libvirt-override.c index c887b71..b4bb571 100644 --- a/libvirt-override.c +++ b/libvirt-override.c @@ -8214,7 +8214,7 @@ libvirt_virNodeAllocPages(PyObject *self ATTRIBUTE_UNUSED, unsigned int flags = VIR_NODE_ALLOC_PAGES_ADD; int c_retval; - if (!PyArg_ParseTuple(args, (char *)"OOiii:virConnectGetAllDomainStats", + if (!PyArg_ParseTuple(args, (char *)"OOiii:virNodeAllocPages", &pyobj_conn, &pyobj_pages, &startCell, &cellCount, &flags)) return NULL; -- 2.1.0 -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list