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

Re: [PATCH 2/3] x86/shim: adjust Kconfig defaults


  • To: Jan Beulich <jbeulich@xxxxxxxx>
  • From: Roger Pau Monné <roger.pau@xxxxxxxxxx>
  • Date: Tue, 15 Sep 2020 12:49:39 +0200
  • Authentication-results: esa1.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none
  • Cc: "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>, "Andrew Cooper" <andrew.cooper3@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, George Dunlap <George.Dunlap@xxxxxxxxxxxxx>
  • Delivery-date: Tue, 15 Sep 2020 10:50:02 +0000
  • Ironport-sdr: B482KW0pY+YstqbKe8sq7+37K4nWKrdF9rismrLMIcIJBgujG0GPalWLFA1mWrk7M7ea2FNgFt zhTIRGus288s42hu/xjif+VkpSwQJ4/N7pHYrRZfMadAzOf0B2WZ2e/8Ck4QQr06zl8vcFIpaf OzG6duP+pfSMgBIbIeLkJZwU00c5MUh+gwSaobZJiyVROCecEVdE95l0Y5nerfSGrcO1zY+wnU /aeRl1o1crM8fPn0YAVjIOK3cygTvwKj6LhLXWJbAUJpbXy/NfcDpwKrlo4xzq22Wyf5ufzGzf FQY=
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On Mon, Sep 14, 2020 at 02:39:08PM +0200, Jan Beulich wrote:
> Just like HVM, defaulting SHADOW_PAGING and TBOOT to Yes in shim-
> exclusive mode makes no sense, as the respective code is dead there.
> 
> Also adjust the shim default config file: It needs to specifiy values
> only for settings where a non-default value is wanted.
> 
> Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>

Reviewed-by: Roger Pau Monné <roger.pau@xxxxxxxxxx>

> 
> --- a/xen/arch/x86/Kconfig
> +++ b/xen/arch/x86/Kconfig
> @@ -116,9 +116,9 @@ config XEN_SHSTK
>         compatiblity can be provided via the PV Shim mechanism.
>  
>  config SHADOW_PAGING
> -        bool "Shadow Paging"
> -        default y
> -        ---help---
> +     bool "Shadow Paging"
> +     default y if !PV_SHIM_EXCLUSIVE

I think you could also do: default !PV_SHIM_EXCLUSIVE?

I'm fine with using the current form.

Thanks, Roger.



 


Rackspace

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