WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

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

To: Christian Limpach <christian.limpach@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] potential bug in "xm atropos" implementation
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
Envelope-to: steven.hand@xxxxxxxxxxxx
In-reply-to: <20041018230034.GI17812@xxxxxxxxxxxx>
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
References: <1b0b45570410181521117dc012@xxxxxxxxxxxxxx> <20041018230034.GI17812@xxxxxxxxxxxx>
Reply-to: Diwaker Gupta <diwakergupta@xxxxxxxxx>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
> 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

<Prev in Thread] Current Thread [Next in Thread>