|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [V6 PATCH 6.2/7] pvh dom0: Add and remove foreign pages
On 12/11/2013 12:44 AM, Mukesh Rathor wrote: Grrrr... sent too soon before compiling on arm... here's version with arm compile fixed. thanks. ------------- In this patch, a new function, p2m_add_foreign(), is added to map pages from foreign guest into current dom0 for domU creation. Such pages are typed p2m_map_foreign. Another function p2m_remove_foreign() is added to remove such pages. Note, in the remove path, we must release the refcount that was taken during the map phase. This is done in p2m_remove_page, which also addresses releasing of refcnt when the domain is destroyed. Signed-off-by: Mukesh Rathor <mukesh.rathor@xxxxxxxxxx> --- [..] There is various place where get_page_from_gfn where t == NULL. With this solution it will segfault every time.
I would do something like that:
if (*t)
t = INT_MAX;
--
Julien Grall
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |