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

Re: [Xen-devel] [PATCH] x86/setup: enclose opt_dom0_shadow in CONFIG_SHADOW_PAGING



>>> On 27.03.17 at 16:12, <wei.liu2@xxxxxxxxxx> wrote:
> --- a/xen/arch/x86/setup.c
> +++ b/xen/arch/x86/setup.c
> @@ -1561,7 +1561,11 @@ void __init noreturn __start_xen(unsigned long mbi_p)
>      if ( dom0_pvh )
>      {
>          domcr_flags |= DOMCRF_hvm |
> -                       ((hvm_funcs.hap_supported && !opt_dom0_shadow) ?
> +                       ((hvm_funcs.hap_supported
> +#ifdef CONFIG_SHADOW_PAGING
> +                         && !opt_dom0_shadow
> +#endif
> +                           ) ?

Why? It's #define-s to false in that case.

Jan


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel

 


Rackspace

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