[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] potential bug in "xm atropos" implementation


  • To: Christian Limpach <christian.limpach@xxxxxxxxxxxx>
  • From: Diwaker Gupta <diwakergupta@xxxxxxxxx>
  • Date: Mon, 18 Oct 2004 16:30:48 -0700
  • Cc: xen-devel@xxxxxxxxxxxxxxxxxxxxx
  • Delivery-date: Tue, 19 Oct 2004 00:57:38 +0100
  • Domainkey-signature: a=rsa-sha1; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=psA0dh6hCpg75RNL/WjJQf22c/e6PtLi2TzND/tF7Zhy/mYLr46Y/89hCNxDvnik7W49uPcdonvAzkM9GNGw/3cxqn+1vtE+D7SOsnjPlWRtDd6dp5UPG2xE98Jgdl196W156LL8795Ra8LRappEYS0pEkEWDktTtmKg4irF0Lw
  • List-id: List for Xen developers <xen-devel.lists.sourceforge.net>

> 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


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.