[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH RFC v1 3/4] libxl for rt scheduler
On Fri, Jul 11, 2014 at 12:49:57AM -0400, Meng Xu wrote: [...] > > # Consistent with SHUTDOWN_* in sched.h (apart from UNKNOWN) > @@ -289,6 +290,17 @@ libxl_domain_restore_params = > Struct("domain_restore_params", [ > ("checkpointed_stream", integer), > ]) > > +libxl_rt_vcpu = Struct("vcpu",[ > + ("period", integer, {'init_val': > 'LIBXL_DOMAIN_SCHED_PARAM_PERIOD_DEFAULT'}), > + ("budget", integer, {'init_val': > 'LIBXL_DOMAIN_SCHED_PARAM_BUDGET_DEFAULT'}), > + ]) > + > +libxl_domain_sched_rt_params = Struct("domain_sched_rt_params",[ > + ("vcpus", Array(libxl_rt_vcpu, "max_vcpus")), The array counter should be named "num_vcpus" (and you probably need to rename the other "num_vcpus" to something else). Wei. _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |