|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH 6/8] xen/arm: Retrieve p2m type in get_page_from_gfn
On 12/05/2013 04:23 PM, Ian Campbell wrote: On Thu, 2013-12-05 at 15:42 +0000, Julien Grall wrote: In that case maddr will contain INVALID_PADDR, which will turn in INVALID_MFN with the shift. So we don't need to check the p2m type. In the case of p2m_mmio_direct we need to be careful because there is no struct page. Ah.. here it is in the context: Actually, I think it's fine. get_page will fail because the page won't belong to the domain. So the function will return NULL. -- Julien Grall _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |