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

Re: [Xen-devel] [PATCH v7 1/9] xl / libxl: push parsing of SSID and CPU pool ID down to libxl



On Tue, Jun 17, 2014 at 06:46:04PM -0400, Daniel De Graaf wrote:
> On 06/17/2014 05:32 AM, Wei Liu wrote:
> >This patch pushes parsing of "init_seclabel", "seclabel",
> >"device_model_stubdomain_seclabel" and "pool" down to libxl level.
> >
> >Originally the parsing is done in xl level, which is not ideal because
> >libxl won't have the truely relevant information. With this patch libxl
> >holds important information by itself.
> >
> >The libxl IDL is extended to hold the string of labels and pool name.
> >And if there those strings are present they take precedence over the
> >numeric representations.
> >
> >As all relevant structures (libxl_dominfo etc) have a field called
> >X_name / X_label now, a string is also copied there so that callers
> >won't have to do ID to name / label translation.
> >
> >In order to be compatible with users of older versions of libxl, this
> >patch also defines LIBXL_HAVE_SSID_LABEL and LIBXL_HAVE_CPUPOOL_NAME. If
> >they are defined, the respective strings are available. And if those
> >strings are not NULL, libxl will do the parsing and ignore the numeric
> >values.
> >
> >Signed-off-by: Wei Liu <wei.liu2@xxxxxxxxxx>
> >Cc: Dario Faggioli <dario.faggioli@xxxxxxxxxx>
> >Cc: Juergen Gross <jgross@xxxxxxxx>
> >Cc: Daniel De Graaf <dgdegra@xxxxxxxxxxxxx>
> 
> This change looks good to me (untested), although I don't believe I am
> listed as a maintainer for any of it.
> 

I'm not at all familiar with these features so I CC'ed experts. Thanks
for confirming.

Wei.

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


 


Rackspace

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