>>> On 27.05.15 at 07:33, <lichong...@gmail.com> wrote: > On Tue, May 26, 2015 at 12:18 PM, Chong Li <lichong...@gmail.com> wrote: >> On Tue, May 26, 2015 at 4:08 AM, Jan Beulich <jbeul...@suse.com> wrote: >>>>>> On 26.05.15 at 02:05, <lichong...@gmail.com> wrote: >>>> +/* Adjust scheduling parameter for the vcpus of a given domain. */ >>>> +long sched_adjust_vcpu( >>>> + struct domain *d, >>>> + struct xen_domctl_scheduler_vcpu_op *op) >>>> +{ >>>> + long ret; >>> >>> I see no reason for this and the function return type to be "long". >> >> The reason is stated in the begining. > > Sorry for missing some details in the last reply. > > sched_adjust_vcpu is added here because I need a seperate function to > handle XEN_DOMCTL_scheduler_vcpu_op, which is a new hypercall > dedicated for per-vcpu get/set. This function is actually based on > sched_adjust (which is dedicated for per-dom get/set in rtds), so the > return type is also the same.
You explain why you need the function, but I asked about why the function return type and the quoted variable's types are "long". Jan _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel