From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Chen, Tiejun" Subject: Re: [v3][PATCH 10/16] tools: extend xc_assign_device() to support rdm reservation policy Date: Mon, 15 Jun 2015 09:12:17 +0800 Message-ID: <557E2671.8010206@intel.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> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20150612154319.GV14606@zion.uk.xensource.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: Wei Liu Cc: kevin.tian@intel.com, 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 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(). Thanks Tiejun