>>> On 27.03.17 at 16:12, <wei.l...@citrix.com> 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@lists.xen.org https://lists.xen.org/xen-devel