>>> On 29.10.18 at 13:40, <rcojoc...@bitdefender.com> wrote: > @@ -316,6 +339,22 @@ void p2m_memory_type_changed(struct domain *d) > } > } > > +void p2m_memory_type_changed(struct domain *d) > +{ > + _memory_type_changed(p2m_get_hostp2m(d)); > + > +#ifdef CONFIG_HVM > + if ( unlikely(altp2m_active(d)) ) > + { > + unsigned int i; > + > + for ( i = 0; i < MAX_ALTP2M; i++ ) > + if ( d->arch.altp2m_eptp[i] != mfn_x(INVALID_MFN) ) > + _memory_type_changed(d->arch.altp2m_p2m[i]); > + } > +#endif > +}
Hmm, I'm puzzled by the #ifdef placement. Wei, didn't we settle that this code is HVM only altogether? Jan _______________________________________________ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel