On 18/01/2019 14:13, Andrew Cooper wrote: > On 10/12/2018 11:44, Juergen Gross wrote: >> With being able to specify a dom0_mem value depending on host memory >> size on x86 make it easy for distros to specify a default dom0 size by >> adding a CONFIG_DOM0_MEM item which presets the dom0_mem boot parameter >> value. >> >> It will be used only if no dom0_mem parameter was specified in the >> boot parameters. >> >> Signed-off-by: Juergen Gross <jgr...@suse.com> >> Reviewed-by: Jan Beulich <jbeul...@suse.com> > > Why was this patch accepted? We've already got a suitable Kconfig > option for this, CONFIG_CMDLINE.
Why do we have a config option for the default scheduler? And something like: dom0_mem=max:8G dom0_mem=10% is different from CONFIG_DOM0_MEM="max:8G" plus dom0_mem=10% on a host with say 100G of memory: In the first case this would be 8G, in the second case 10G. Juergen _______________________________________________ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel