[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH 7/8] x86/shim: fully ignore "nosmp" and "maxcpus="
In the shim case, the number of CPUs should be solely controlled by the guest configuration file. Make sure the command line options are fully (and not just partially) ignored. Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx> --- a/xen/arch/x86/setup.c +++ b/xen/arch/x86/setup.c @@ -1498,6 +1498,15 @@ void __init noreturn __start_xen(unsigne if ( smp_found_config ) get_smp_config(); + /* + * In the shim case, the number of CPUs should be solely controlled by the + * guest configuration file. + */ + if ( pv_shim ) + { + opt_nosmp = false; + max_cpus = 0; + } if ( opt_nosmp ) { max_cpus = 0; _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |