>>> On 27.09.16 at 17:57, <roger....@citrix.com> wrote: > --- a/xen/arch/x86/mm/p2m.c > +++ b/xen/arch/x86/mm/p2m.c > @@ -2793,7 +2793,7 @@ int p2m_add_foreign(struct domain *tdom, unsigned long > fgfn, > struct domain *fdom; > > ASSERT(tdom); > - if ( foreigndom == DOMID_SELF || !is_pvh_domain(tdom) ) > + if ( foreigndom == DOMID_SELF || !has_hvm_container_domain(tdom) ) > return -EINVAL;
Can PV domains make it here? If not, dropping the predicate would seem the better adjustment. Jan _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel