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

Re: [Xen-devel] [PATCH v5 10/16] tools: implement the new libxc get hw info interface



On Sat, Sep 30, 2017 at 09:39:20AM +0800, Yi Sun wrote:
> This patch implements a new libxc get hw info interface and corresponding
> data structures. It also changes libxl_psr.c to call this new interface.
> 
> Signed-off-by: Yi Sun <yi.y.sun@xxxxxxxxxxxxxxx>
> +
> +        hw_info->cat.cos_max = sysctl.u.psr_alloc.u.cat_info.cos_max;
> +        hw_info->cat.cbm_len = sysctl.u.psr_alloc.u.cat_info.cbm_len;
> +        hw_info->cat.cdp_enabled = ( type  == XC_PSR_CAT_L2 ) ?
> +                                   false :
> +                                   ( sysctl.u.psr_alloc.u.cat_info.flags &
> +                                    XEN_SYSCTL_PSR_CAT_L3_CDP );
> +

There is no need to put spaces inside brackets here.

With that fix:

Acked-by: Wei Liu <wei.liu2@xxxxxxxxxx>

_______________________________________________
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®.