[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH v2 2/2] x86/pvshim: use 2M alignment



>>> On 19.03.19 at 14:50, <wei.liu2@xxxxxxxxxx> wrote:
> On Tue, Mar 19, 2019 at 07:42:56AM -0600, Jan Beulich wrote:
>> >>> On 19.03.19 at 14:05, <wei.liu2@xxxxxxxxxx> wrote:
>> > --- a/xen/arch/x86/configs/pvshim_defconfig
>> > +++ b/xen/arch/x86/configs/pvshim_defconfig
>> > @@ -5,6 +5,7 @@ CONFIG_PVH_GUEST=y
>> >  CONFIG_PV_SHIM=y
>> >  CONFIG_PV_SHIM_EXCLUSIVE=y
>> >  CONFIG_NR_CPUS=32
>> > +CONFIG_XEN_ALIGN_2M=y
>> >  # Disable features not used by the PV shim
>> >  # CONFIG_SHADOW_PAGING is not set
>> >  # CONFIG_BIGMEM is not set
>> 
>> Instead of this, why not add
>> 
>>     default XEN_ALIGN_2M if PV_SHIM_EXCLUSIVE
>> 
>> to the config option itself, ahead of the default patch 1 establishes?
> 
> This seems to work -- I didn't know you can have two default's for the
> same option.

The order is important, but beyond that you can have any number
of them. The first one the "if" of which matches gets used.

Jan



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.