From: Diwaker G. <diw...@gm...> - 2004-10-18 23:30:49
|
> No, the 6th argument you see in the xc_atropos_domain_set function > signature (i.e. the function's 1st argument -- xc_handle) is added > in the Pyhton<->xc interface function pyxc_atropos_domain_set > (in tools/python/xen/lowlevel/xc/xc.c). I see. Basically I was running into this problem: $ xm help atropos <lists FIVE params> $ xm atropos 1 30 100 10 1 <FIVE params> Error: atropos: Invalid argument(s) $ xm atropos 1 30 100 10 <FOUR params> Traceback (most recent call last): File "/usr/sbin/xm", line 6, in ? main.main(sys.argv) File "/usr/lib/python2.3/site-packages/xen/xm/main.py", line 786, in main xm.main(args) File "/usr/lib/python2.3/site-packages/xen/xm/main.py", line 105, in main self.main_call(args) File "/usr/lib/python2.3/site-packages/xen/xm/main.py", line 123, in main_call p.main(args[1:]) File "/usr/lib/python2.3/site-packages/xen/xm/main.py", line 585, in main server.xend_domain_cpu_atropos_set(dom, *v) TypeError: xend_domain_cpu_atropos_set() takes exactly 6 arguments (5 given) -- Diwaker Gupta http://resolute.ucsd.edu/diwaker |