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:
Keir Fraser committed 2009-11-14 10:25:19 +00:00
1 parent f481a3f9c3
commit f60cd0f902
1 file changed
-3
-3
View File
@@ -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);
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.