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

Re: [Xen-devel] [RFC v2 08/12] tools: create general interfaces to support psr allocation features.



On Tue, Aug 01, 2017 at 08:56:19AM +0800, Yi Sun wrote:
> > > +
> > > +libxl_psr_hw_info = Struct("psr_hw_info", [
> > > +    ("id", uint32),
> > > +    ("u", KeyedUnion(None, libxl_psr_feat_type, "type",
> > > +          [("cat_info", Struct(None, [
> > > +                                         ("cos_max",     uint32),
> > > +                                         ("cbm_len",     uint32),
> > > +                                         ("cdp_enabled", bool),
> > > +                               ])),
> > > +           ("mba_info", Struct(None, [
> > > +                                         ("cos_max",     uint32),
> > > +                                         ("thrtl_max",   uint32),
> > > +                                         ("linear",      bool),
> > > +                               ])),
> > > +          ]))
> > 
> > If this is output only please mark it as dir=DIR_OUT.
> > 
> Sorry, I do not understand this clearly. DYM if these values are all output
> values for xl application?

This is part of the idl, which means the structure is for output only.

Search for DIR_OUT in libxl_types.idl

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

 


Rackspace

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