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

Re: [Xen-devel] [PATCH v2 21/23] x86: expose CONFIG_HVM


  • To: Jan Beulich <JBeulich@xxxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
  • From: Juergen Gross <jgross@xxxxxxxx>
  • Date: Thu, 30 Aug 2018 08:57:13 +0200
  • Autocrypt: addr=jgross@xxxxxxxx; prefer-encrypt=mutual; keydata= xsBNBFOMcBYBCACgGjqjoGvbEouQZw/ToiBg9W98AlM2QHV+iNHsEs7kxWhKMjrioyspZKOB ycWxw3ie3j9uvg9EOB3aN4xiTv4qbnGiTr3oJhkB1gsb6ToJQZ8uxGq2kaV2KL9650I1SJve dYm8Of8Zd621lSmoKOwlNClALZNew72NjJLEzTalU1OdT7/i1TXkH09XSSI8mEQ/ouNcMvIJ NwQpd369y9bfIhWUiVXEK7MlRgUG6MvIj6Y3Am/BBLUVbDa4+gmzDC9ezlZkTZG2t14zWPvx XP3FAp2pkW0xqG7/377qptDmrk42GlSKN4z76ELnLxussxc7I2hx18NUcbP8+uty4bMxABEB AAHNHkp1ZXJnZW4gR3Jvc3MgPGpncm9zc0BzdXNlLmRlPsLAeQQTAQIAIwUCU4xw6wIbAwcL CQgHAwIBBhUIAgkKCwQWAgMBAh4BAheAAAoJELDendYovxMvi4UH/Ri+OXlObzqMANruTd4N zmVBAZgx1VW6jLc8JZjQuJPSsd/a+bNr3BZeLV6lu4Pf1Yl2Log129EX1KWYiFFvPbIiq5M5 kOXTO8Eas4CaScCvAZ9jCMQCgK3pFqYgirwTgfwnPtxFxO/F3ZcS8jovza5khkSKL9JGq8Nk czDTruQ/oy0WUHdUr9uwEfiD9yPFOGqp4S6cISuzBMvaAiC5YGdUGXuPZKXLpnGSjkZswUzY d9BVSitRL5ldsQCg6GhDoEAeIhUC4SQnT9SOWkoDOSFRXZ+7+WIBGLiWMd+yKDdRG5RyP/8f 3tgGiB6cyuYfPDRGsELGjUaTUq3H2xZgIPfOw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ax00vevyBeqtqNKjHstHatgMZ2W0CFC4hJ3YEetuRBURYPiGzuJXU pAd7a7BdsqWC4o+GTm5tnGrCyD+4gfDSpkOT53S/GNO07YkPkm/8J4OBoFfgSaCnQ1izwgJQ jIpcG2fPCI2/hxf2oqXPYbKr1v4Z1wthmoyUgGN0LPTIm+B5vdY82wI5qe9uN6UOGyTH2B3p hRQUWqCwu2sqkI3LLbTdrnyDZaixT2T0f4tyF5Lfs+Ha8xVMhIyzNb1byDI5FKCb
  • Cc: Stefano Stabellini <sstabellini@xxxxxxxxxx>, Wei Liu <wei.liu2@xxxxxxxxxx>, George Dunlap <George.Dunlap@xxxxxxxxxxxxx>, Doug Goldstein <cardoe@xxxxxxxxxx>, Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>, Tim Deegan <tim@xxxxxxx>, Julien Grall <julien.grall@xxxxxxx>, xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Thu, 30 Aug 2018 06:57:29 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Openpgp: preference=signencrypt

On 30/08/18 08:21, Jan Beulich wrote:
>>>> On 29.08.18 at 18:56, <andrew.cooper3@xxxxxxxxxx> wrote:
>> On 28/08/18 14:33, Jan Beulich wrote:
>>>>>> On 28.08.18 at 14:14, <andrew.cooper3@xxxxxxxxxx> wrote:
>>>> On 28/08/18 12:50, Jan Beulich wrote:
>>>>>>>> On 26.08.18 at 14:19, <wei.liu2@xxxxxxxxxx> wrote:
>>>>>> --- a/xen/arch/x86/Kconfig
>>>>>> +++ b/xen/arch/x86/Kconfig
>>>>>> @@ -60,6 +60,12 @@ config PV_LINEAR_PT
>>>>>>  
>>>>>>  config HVM
>>>>>>          def_bool y
>>>>>> +        prompt "HVM / PVH support"
>>>>>> +        ---help---
>>>>>> +          Interfaces to support HVM and PVH guests.
>>>> This definitely needs more than a single line...
>>>>
>>>>>> +
>>>>>> +          If unsure, say Y.
>>>>>> +
>>>>>>  
>>>>>>  config SHADOW_PAGING
>>>>> No double blank lines please.
>>>>>
>>>>> My previously voiced reservations wrt the shim remain. I continue
>>>>> to disagree with Andrew that the symbol needs to be visible in a
>>>>> shim-only config, and I continue to demand as a minimum that the
>>>>> default here be N in that case if the symbol really is to remain visible.
>>>> Conditionally influencing the default is fine.  Hiding the symbol is not.
>>>>
>>>> To be very very clear, I will nack/revert any patch which tries to
>>>> insert a dependency here.  I find your reasoning to be wrong, and
>>>> sufficiently short sighted and detrimental to users, that I'm not going
>>>> to let the patch in.
>>> Since iirc you didn't respond to my most recent comment on v1 here,
>>> I would have very much hoped you'd explain your position a little
>>> better than just claiming that the symbol becoming invisible with a
>>> dependency added is a bad thing. I'm certainly open to (good)
>>> arguments, but I'm not accepting a plain statement without proper
>>> explanation.
>>
>> I'm not sure how to put this any more clearly.
>>
>> Our users cannot read *your* mind when they are trying to use `make
>> menuconfig`.
>>
>> Since our users are not experts in Xen, the lack of an HVM option is
>> going to cause confusion and questions to mailing lists/IRC, rather than
>> the realisation that (obviously?) they needed to disable
>> PV_SHIM_EXCLUSIVE first.
> 
> But that's an argument to remove support for "depends on" altogether
> from the kconfig sources. I'm not buying this as an argument. Option
> combinations that make no sense should not be permitted, _in the very
> interest of users who are no experts in Xen_.
> 
> Furthermore I can only express my personal feelings for "make
> menuconfig" and alike - just don't use it.
> 
>> Finally (and minor in comparison), from the point of view of keeping our
>> interfaces clean, we'll want Randconfig to occasionally test with both
>> of them enabled.
> 
> Why, when the combination doesn't make sense?
> 
> Anyway - I'm extending the Cc list to get the more general underlying
> question resolved. To those who haven't followed the discussion from
> the beginning: The question is whether senseless combinations of
> Kconfig options should be permitted, or whether instead "depends on"
> is a reasonable thing to use in such cases to prevent their (combined)
> selection.

I'm on Jan's side.

Someone familiar with Kconfig for the Linux kernel will expect exactly
this behavior: a symbol is only visible when it makes sense to select
it.

In case you are missing the symbol you can still search for it in
menuconfig and the dependencies will be displayed.


Juergen


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