>>> On 20.06.16 at 18:30, <wei.l...@citrix.com> wrote: > @@ -97,9 +98,17 @@ boolean_param("hap", opt_hap_enabled); > > #ifndef opt_hvm_fep > /* Permit use of the Forced Emulation Prefix in HVM guests */ > -bool_t opt_hvm_fep; > +bool_t __read_mostly opt_hvm_fep; > boolean_param("hvm_fep", opt_hvm_fep); > #endif > +static const char __initconst *warning_hvm_fep = > + "**********************************************\n" > + "******* WARNING: HVM FORCED EMULATION PREFIX IS AVAILABLE\n" > + "******* This option is *ONLY* intended to aid testing of Xen.\n" > + "******* It has implications on the security of the system.\n" > + "******* Please *DO NOT* use this in production.\n" > + "**********************************************\n"; > + >
Along with the same comment as on patch 2, here even more than there I wonder whether this string wouldn't better be a static local in hvm_enable() (or even the scope therein where warning_add() gets invoked). Also adding a stray blank line. Jan _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel