[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH v1 1/4] xen: add real time scheduler rt



>>> On 03.09.14 at 16:20, <George.Dunlap@xxxxxxxxxxxxx> wrote:
> On Sun, Aug 24, 2014 at 11:58 PM, Meng Xu <mengxu@xxxxxxxxxxxxx> wrote:
>> diff --git a/xen/include/public/domctl.h b/xen/include/public/domctl.h
>> index 5b11bbf..27d01c1 100644
>> --- a/xen/include/public/domctl.h
>> +++ b/xen/include/public/domctl.h
>> @@ -339,6 +339,19 @@ struct xen_domctl_max_vcpus {
>>  typedef struct xen_domctl_max_vcpus xen_domctl_max_vcpus_t;
>>  DEFINE_XEN_GUEST_HANDLE(xen_domctl_max_vcpus_t);
>>
>> +/*
>> + * This structure is used to pass to rt scheduler from a
>> + * privileged domain to Xen
>> + */
>> +struct xen_domctl_sched_rt_params {
>> +    /* get vcpus' info */
>> +    uint64_t period; /* s_time_t type */
>> +    uint64_t budget;
>> +    uint16_t index;
>> +    uint16_t padding[3];
> 
> Why the padding?

These structures must look the same for a 32-bit and 64-bit Dom0.

Jan


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.