mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
There are only six fields in vcpuinfo.
Signed-off-by: Ryan Harper <ryanh@us.ibm.com>
This commit is contained in:
1 parent
7126177413
commit
0fd482ecd5
1 file changed
+1
-1
@@ -363,7 +363,7 @@ static PyObject *pyxc_vcpu_getinfo(PyObject *self,
|
||||
if ( rc < 0 )
|
||||
return PyErr_SetFromErrno(xc_error);
|
||||
|
||||
info_dict = Py_BuildValue("{s:i,s:i,s:i,s:L,s:i,s:i,s:i}",
|
||||
info_dict = Py_BuildValue("{s:i,s:i,s:i,s:L,s:i,s:i}",
|
||||
"online", info.online,
|
||||
"blocked", info.blocked,
|
||||
"running", info.running,
|
||||
|
||||