Hello All, I am a little confused about mapping mechanism in Xen for page from DomU to Dom0.
When Dom0 maps DomU page to its applied host_addr, Page table entries are created by Xen hypervisor for mapping applied host_addr vritual address of Dom0 to DomU physical page. The result is host_addr maps to DomU phsyical page. Now in network backend driver, virt_to_page macro is called on this mapped host_addr. How does Dom0 gets struct page for the mapped DomU page in its domain? Is Xen also updates mem_map array of Dom0 to create struct page for the mapped page? Or Dom0 creates struct page for all the physical memory including provided to DomU during its creation ? Can anybody tell me how struct page for mapped pages from another domain gets updated or created in DOm0? Any help will be appreciated Thanks Amna _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel