From: Wei Liu Subject: Re: [v3][PATCH 10/16] tools: extend xc_assign_device() to support rdm reservation policy Date: Mon, 15 Jun 2015 15:58:13 +0100 Message-ID: <20150615145813.GA10177@zion.uk.xensource.com> References: <1433985325-16676-1-git-send-email-tiejun.chen@intel.com> <1433985325-16676-11-git-send-email-tiejun.chen@intel.com> <20150612154319.GV14606@zion.uk.xensource.com> <557E2671.8010206@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <557E2671.8010206@intel.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: "Chen, Tiejun" Cc: kevin.tian@intel.com, Wei Liu , ian.campbell@citrix.com, andrew.cooper3@citrix.com, tim@xen.org, xen-devel@lists.xen.org, stefano.stabellini@citrix.com, jbeulich@suse.com, yang.z.zhang@intel.com, Ian.Jackson@eu.citrix.com List-Id: xen-devel@lists.xenproject.org On Mon, Jun 15, 2015 at 09:12:17AM +0800, Chen, Tiejun wrote: > On 2015/6/12 23:43, Wei Liu wrote: > >On Thu, Jun 11, 2015 at 09:15:19AM +0800, Tiejun Chen wrote: > >[...] > >> > >>-static int next_bdf(char **str, int *seg, int *bus, int *dev, int *func) > >>+static int next_bdf(char **str, int *seg, int *bus, int *dev, int *func, > >>+ int *flag) > > > >This is unrelated change. It should be moved to appropriate patch. > > > > This is in the tools/python/xen/lowlevel/xc/xc.c file, > > pyxc_assign_device > | > + while ( next_bdf(&pci_str, &seg, &bus, &dev, &func, &flag) ) > | > + ... > | > + xc_assign_device() > > this really should be related to extend xc_assign_device(). > Right, this is fine then. Please write in the commit message that you also adjusted all language bindings. Normally when I notice the code doesn't match the commit message I become very skeptical about the code. Wei. > Thanks > Tiejun