[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] paged granttable entries
Patrick, after adding some debug to __gnttab_map_grant_ref(), I found the gfn referenced by sha1->frame has p2m_type_t == p2m_ram_paged. As a result, the following code gets into the 'iomem_access_permitted(rd, frame, frame)' branch. Some naive approach to call p2m_mem_paging_populate() and return GNTST_eagain lead to a deadlock in the guest. The guest reponds to keypresses, xm destroy does not work. How are paged out granttable entries supposed to come back when the guest did not do the GNTTABOP_map_grant_ref hypercall yet? I tried to skip gfn listed in the guests granttable in p2m_mem_paging_nominate, but that doesnt appear to work because new pages can be added to the granttable at anytime by the drivers. Olaf _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |