mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 18:21:39 +01:00
xend: Remove extraneous logging from pyxc_physinfo().
Also fixes 32-bit build. Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
This commit is contained in:
1 parent
f481a3f9c3
commit
f60cd0f902
1 file changed
-3
@@ -1129,16 +1129,13 @@ static PyObject *pyxc_physinfo(XcObject *self)
|
||||
Py_DECREF(pyint);
|
||||
}
|
||||
|
||||
xc_dom_loginit();
|
||||
/* DMA memory. */
|
||||
node_to_dma32_mem_obj = PyList_New(0);
|
||||
|
||||
for ( i = 0; i < info.nr_nodes; i++ )
|
||||
{
|
||||
PyObject *pyint;
|
||||
|
||||
xc_availheap(self->xc_handle, 0, 32, i, &free_heap);
|
||||
xc_dom_printf("Node:%d: DMA32:%ld\n", i, free_heap);
|
||||
pyint = PyInt_FromLong(free_heap / 1024);
|
||||
PyList_Append(node_to_dma32_mem_obj, pyint);
|
||||
Py_DECREF(pyint);
|
||||
|
||||