diff options
| author | kaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk> | 2005-10-14 15:40:48 +0100 |
|---|---|---|
| committer | kaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk> | 2005-10-14 15:40:48 +0100 |
| commit | 30ce2a9295a53f989897497df0c195dc597b00d6 (patch) | |
| tree | ed5447796448766566eadbae7fcc7fb10b1466dc /tools/python/xen/xm | |
| parent | 5dc12fe2424c7cbaffd1292083a5c30ecb9d965c (diff) | |
| download | xen-30ce2a9295a53f989897497df0c195dc597b00d6.tar.gz xen-30ce2a9295a53f989897497df0c195dc597b00d6.tar.bz2 xen-30ce2a9295a53f989897497df0c195dc597b00d6.zip | |
Store an opaque handle (tools uuid) in the domain structure
within Xen. Refactor GETVCPUCONTEXT into an op of the same
name plus a new op GETVCPUINFO. Move the cpumap and cpu info
arrays from GETDOMAININFO and move into new GETVCPUINFO.
Signed-off-by: Keir Fraser <keir@xensource.com>
Diffstat (limited to 'tools/python/xen/xm')
| -rw-r--r-- | tools/python/xen/xm/main.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/python/xen/xm/main.py b/tools/python/xen/xm/main.py index 3df329c9ac..a3e35f993b 100644 --- a/tools/python/xen/xm/main.py +++ b/tools/python/xen/xm/main.py @@ -270,9 +270,9 @@ def parse_doms_info(info): vcpuinfo['dom'] = int(sxp.child_value(info, 'domid', '-1')) vcpuinfo['vcpu'] = int(count) vcpuinfo['cpu'] = int(cpu) - vcpuinfo['cpumap'] = int(cpumap[count])&mask + #vcpuinfo['cpumap'] = int(cpumap[count])&mask count = count + 1 - dominfo['vcpulist'].append(vcpuinfo) + #dominfo['vcpulist'].append(vcpuinfo) return dominfo def xm_brief_list(domsinfo): |
