>>> On 26.08.18 at 14:19, <wei.l...@citrix.com> wrote: > --- a/xen/arch/x86/mm/paging.c > +++ b/xen/arch/x86/mm/paging.c > @@ -919,6 +919,7 @@ const struct paging_mode *paging_get_mode(struct vcpu *v) > return paging_get_nestedmode(v); > } > > +#ifdef CONFIG_HVM > void paging_update_nestedmode(struct vcpu *v) > { > ASSERT(nestedhvm_enabled(v->domain)); > @@ -930,6 +931,7 @@ void paging_update_nestedmode(struct vcpu *v) > v->arch.paging.nestedmode = NULL; > hvm_asid_flush_vcpu(v); > } > +#endif
Just a consideration (no objection): Would it be worthwhile to introduce CONFIG_NESTED_HVM at the same time (for now hard coded to Y, and of course depending on HVM) to avoid having to touch all such places a second time later on? Jan _______________________________________________ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel