> > -static void libxl__psr_cat_log_err_msg(libxl__gc *gc, int err) > +static void libxl__psr_alloc_log_err_msg(libxl__gc *gc, > + int err, > + libxl_psr_cbm_type type) > { > + /* > + * Index is 'libxl_psr_cbm_type' so we set two 'CDP' to > correspond to > + * DATA and CODE. > + */
Or just use "CDP CODE" and "CDP DATA" respectively? > + const char * const feat_name[6] = { > + "UNKNOWN", > + "L3 CAT", > + "CDP", > + "CDP", > + "L2 CAT", > + "MBA", > + }; > char *msg; > _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel