From: Christian Limpach Subject: Re: potential bug in "xm atropos" implementation Date: Tue, 19 Oct 2004 00:56:29 +0100 Sender: xen-devel-admin@lists.sourceforge.net Message-ID: <20041018235629.GJ17812@cl.cam.ac.uk> References: <1b0b45570410181521117dc012@mail.gmail.com> <20041018230034.GI17812@cl.cam.ac.uk> <1b0b455704101816303ba58cc8@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <1b0b455704101816303ba58cc8@mail.gmail.com> Errors-To: xen-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: Diwaker Gupta Cc: xen-devel@lists.sourceforge.net List-Id: xen-devel@lists.xenproject.org On Mon, Oct 18, 2004 at 04:30:48PM -0700, Diwaker Gupta wrote: > > 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: ah I see, now your patch makes sense ;-) args[2:5] does (confusingly) not include the 5th element and len (of course) counts from 0. The 6th argument which xend_domain_cpu_atropos_set expects (its 1st) is not the 1st argument for xc_atropos_domain_set though... I've applied your patch... Thanks! christian ------------------------------------------------------- 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