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

Re: [Xen-devel] [PATCH RFC v1 36/74] --- x86/shim: Kconfig and command line options



On 05/01/18 15:26, Jan Beulich wrote:
>>>> On 04.01.18 at 14:05, <wei.liu2@xxxxxxxxxx> wrote:
>> --- a/xen/arch/x86/Kconfig
>> +++ b/xen/arch/x86/Kconfig
>> @@ -133,6 +133,28 @@ config PVH_GUEST
>>      ---help---
>>        Support booting using the PVH ABI.
>>  
>> +      If unsure, say N.
>> +
>> +config PV_SHIM
>> +    def_bool n
>> +    prompt "PV Shim"
>> +    depends on PV && XEN_GUEST
>> +    ---help---
>> +      Build Xen with a mode which acts as a shim to allow PV guest to run
>> +      in an HVM/PVH container. This mode can only be enabled with command
>> +      line option.
>> +
>> +      If unsure, say N.
>> +
>> +config PV_SHIM_EXCLUSIVE
>> +    def_bool n
>> +    prompt "PV Shim Exclusive"
>> +    depends on PV_SHIM
> My expectation so far was that this would be the only mode we
> target, hence I think at the very least the default wants to be y
> here.

Until proper out-of-tree Xen builds work, building the shim binary at
all is a PITA.

These defaults give a developer a single binary which is capable of
running natively or as the shim, which has made development far more
productive.  Its certainly the way I'd expect to do primary future
development of the shim.

~Andrew

_______________________________________________
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®.