"magic" pages like xenstore and console
Hi,
First, I should note that unfortunately I am stuck using an outdated version of xen (from last spring, prior to new shadow code). Hopefully my question below isn't too outdated or someone has a good memory.
Xen has a few "magic" pages stored in the memory image of each domain such as the xen store page and the console page. Does anyone know if the page immediately following the console page is also special in some way?
The DOM0_GETMEMLIST call gets a list of pages used by a domain by stepping through the "page_list" linked list stored in the "domain" struct. I'm finding that in translated shadow mode, this list is one page shorter than it should be, and that the missing page is the one which immediately follows the console page. So we have <...> <xen store> <console> <MISSING> <...>
Anyone have an idea on what makes that page special and why it isn't included in the page_list as normal?
thanks,
Tim
Quoted 9 lines · Tim Wood
The
DOM0_GETMEMLISTcall gets a list of pages used by a domain by stepping through the "page_list" linked list stored in the "domain" struct. I'm finding that in translated shadow mode, this list is one page shorter than it should be, and that the missing page is the one which immediately follows the console page. So we have <...> <xen store> <console> <MISSING> <...>Anyone have an idea on what makes that page special and why it isn't included in the
page_listas normal?
Probably it's the shared_info page. That and grant-table pages are allocated from the 'Xen heap' and do not appear in getmemlist output.
-- Keir