[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH 1/2] xen/xsm: Introduce new boot parameter xsm
> -----Original Message----- > From: Jan Beulich [mailto:JBeulich@xxxxxxxx] > Sent: Tuesday, July 3, 2018 3:12 PM > To: Xin Li <talons.lee@xxxxxxxxx> > Cc: Andrew Cooper <Andrew.Cooper3@xxxxxxxxxx>; Ming Lu > <ming.lu@xxxxxxxxxx>; Sergey Dyasli <sergey.dyasli@xxxxxxxxxx>; Wei Liu > <wei.liu2@xxxxxxxxxx>; Xin Li (Talons) <xin.li@xxxxxxxxxx>; George Dunlap > <George.Dunlap@xxxxxxxxxx>; Stefano Stabellini <sstabellini@xxxxxxxxxx>; xen- > devel@xxxxxxxxxxxxx; Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>; Daniel > de Graaf <dgdegra@xxxxxxxxxxxxx>; Tim (Xen.org) <tim@xxxxxxx> > Subject: Re: [PATCH 1/2] xen/xsm: Introduce new boot parameter xsm > > First of all - please indicate the version also in the subject, i.e. here > [PATCH v2 > 1/2] or some such. > > >>> On 03.07.18 at 03:26, <talons.lee@xxxxxxxxx> wrote: > > v2 > > To further discuss: > > 1) is "dummy" a good command line option? > > other choices: basic", "trivial", or "simple" > > Indeed, but not limited to the named set. > > Additionally, please have a brief summary of changes from the prior version > here. > > > + switch ( xsm_bootparam ) > > + { > > + case XSM_BOOTPARAM_DUMMY: > > + break; > > + > > + case XSM_BOOTPARAM_FLASK: > > + flask_init(policy_buffer, policy_size); > > + break; > > + > > + default: > > + printk("XSM: Invalid value for xsm= boot parameter.\n"); > > As I think I've said before - generally no full stop at the end of log > messages > please. I also think that in error messages like this the offending string > should > be logged as well. Which points out an issue with the change: Without > CONFIG_XSM_FLASK (under the current naming as proposed by Andrew; you > should btw continue to name the dependency of your series on his one until > that prereq has landed in staging, which you'd ideally do in a 0/2 cover > letter) would perhaps better result in this error message to be issued, in > favor > of or in addition to the command line parsing one. OK. Remove this ".", And in parse_xsm_param, add: else { printk("XSM: can't parse boot parameter xsm=%s\n", s); rc = -EINVAL; } > > Jan > _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |