[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-ia64-devel] Mapping invalid address
Hi, when domU tries to map an bad mpa, it maps page 0 instead. This is how vcpu_itc_d works: pteval = translate_domain_pte(pte,ifa,itir); if (!pteval) return IA64_ILLOP_FAULT; Because translate_domain_pte end is: pteval2 = lookup_domain_mpa(d,mpaddr); pteval2 &= _PAGE_PPN_MASK; // ignore non-addr bits pteval2 |= _PAGE_PL_2; // force PL0->2 (PL3 is unaffected) pteval2 = (pteval & ~_PAGE_PPN_MASK) | pteval2; return pteval2; } Therefore, translate_domain_pte never returns 0. it is expected, or should we fix this behavior ? Tristan. _______________________________________________ Xen-ia64-devel mailing list Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-ia64-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |