On 16/09/2019 12:22, Jan Beulich wrote: > On 13.09.2019 21:27, Andrew Cooper wrote: >> The domain builder no longer uses local CPUID instructions for policy >> decisions. This resolves a key issue for PVH dom0's. However, as PV dom0's >> have never had faulting enforced, leave a command line option to restore the >> old behaviour. >> >> Advertise virtualised faulting support to control domains unless the opt-out >> has been used. >> >> Signed-off-by: Andrew Cooper <andrew.coop...@citrix.com> > Reviewed-by: Jan Beulich <jbeul...@suse.com>
Thanks, > perhaps with ... > >> --- a/xen/arch/x86/dom0_build.c >> +++ b/xen/arch/x86/dom0_build.c >> @@ -305,6 +305,8 @@ static int __init parse_dom0_param(const char *s) >> #endif >> else if ( (val = parse_boolean("verbose", s, ss)) >= 0 ) >> opt_dom0_verbose = val; >> + else if ( (val = parse_boolean("cpuid-faulting", s, ss)) >= 0 ) >> + opt_dom0_cpuid_faulting = val; > ... this wrapped in "#ifdef CONFIG_PV" or IS_ENABLED(CONFIG_PV) > added to the condition? Done. ~Andrew _______________________________________________ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel