/* If a domain has multiple VCPUs, vcpu_id specifies which one
* this schedule entry applies to. It should be set to 0 if
* there is only one VCPU for the domain. */
- unsigned int vcpu_id;
+ uint32_t vcpu_id;
/* runtime specifies the amount of time that should be allocated
* to this VCPU per major frame. It is specified in nanoseconds */
uint64_aligned_t runtime;
/* Length of timeslice in milliseconds */
#define XEN_SYSCTL_CSCHED_TSLICE_MAX 1000
#define XEN_SYSCTL_CSCHED_TSLICE_MIN 1
- unsigned tslice_ms;
- unsigned ratelimit_us;
+ uint32_t tslice_ms;
+ uint32_t ratelimit_us;
/*
* How long we consider a vCPU to be cache-hot on the
* CPU where it has run (max 100ms, in microseconds)
*/
#define XEN_SYSCTL_CSCHED_MGR_DLY_MAX_US (100 * 1000)
- unsigned vcpu_migr_delay_us;
+ uint32_t vcpu_migr_delay_us;
};
struct xen_sysctl_credit2_schedule {
- unsigned ratelimit_us;
+ uint32_t ratelimit_us;
};
/* XEN_SYSCTL_scheduler_op */