From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chong Li Subject: Re: [PATCH v4 for Xen 4.6 2/4] libxc: enable per-VCPU parameter settings for RTDS scheduler Date: Fri, 7 Aug 2015 11:35:37 -0500 Message-ID: References: <1436590356-3706-1-git-send-email-chong.li@wustl.edu> <1436590356-3706-3-git-send-email-chong.li@wustl.edu> <1438013466.5036.219.camel@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1438013466.5036.219.camel@citrix.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: Dario Faggioli Cc: Chong Li , Wei Liu , Sisu Xi , George Dunlap , xen-devel , Meng Xu , Dagaen Golomb List-Id: xen-devel@lists.xenproject.org On Mon, Jul 27, 2015 at 11:11 AM, Dario Faggioli wrote: > On Fri, 2015-07-10 at 23:52 -0500, Chong Li wrote: > >> diff --git a/tools/libxc/include/xenctrl.h b/tools/libxc/include/xenctrl.h >> index d1d2ab3..58f1a7a 100644 >> --- a/tools/libxc/include/xenctrl.h >> +++ b/tools/libxc/include/xenctrl.h >> @@ -915,6 +915,15 @@ int xc_sched_rtds_domain_get(xc_interface *xch, >> uint32_t domid, >> struct xen_domctl_sched_rtds *sdom); >> > So, here in the header, you're not changing the prototype of > xc_sched_rtds_domain_{get,set} to use the typedef. > > However... > >> +int xc_sched_rtds_vcpu_set(xc_interface *xch, >> + uint32_t domid, >> + xen_domctl_schedparam_vcpu_t *vcpus, >> + uint16_t num_vcpus); >> > ... you hare using the typedef for the newly introduced functions > xc_sched_rtds_vcpu_{get,set}(), and... > >> --- a/tools/libxc/xc_rt.c >> +++ b/tools/libxc/xc_rt.c >> @@ -27,7 +27,7 @@ >> >> int xc_sched_rtds_domain_set(xc_interface *xch, >> uint32_t domid, >> - struct xen_domctl_sched_rtds *sdom) >> + xen_domctl_sched_rtds_t *sdom) >> > ...you are actually changing the _implementation_ of > xc_sched_rtds_domain_{get,set}(). > > That's all rather inconsistent. You're right. I'll change it. > > Regards, > Dario > -- > <> (Raistlin Majere) > ----------------------------------------------------------------- > Dario Faggioli, Ph.D, http://about.me/dario.faggioli > Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK) -- Chong Li Department of Computer Science and Engineering Washington University in St.louis