From: ADITYA KRISHNAN Subject: What does xc_map_foreign_batch() do? Date: Sat, 9 May 2009 16:28:39 -0400 Message-ID: <71d179310905091328n779970abobc1dd9870eb47b6b@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0962991017==" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --===============0962991017== Content-Type: multipart/alternative; boundary=00163646b992202ee904698097f9 --00163646b992202ee904698097f9 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Hello, I am a student at NC state university and I am working on modifying the checkpoint feature of Xen to take incremental checkpoints. In the xc_domain_save and xc_domain_restore code I observed that Xen uses the xc_map_foreign_batch() function to map the p2m mapping table into the Dom0 directly from a p2m_frame_list, which I suppose is a list of frames containing machine addresses of the various p2m lists for that particular Domain. Since this function returns only one address, I was confused as to which p2m table's mapped address is it returning among the list of p2m tables pointed to by the p2m_frame_list or is it that there is only a single large p2m mapping table and all that the xc_map_foreign_batch() does is map this machine address contained in the p2m_frame_list along with the entire range of that p2m table ? Someone kindly enlighten. Thanks, Aditya Krishnan --00163646b992202ee904698097f9 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hello,

I am a student at NC state university and I am working on mo= difying the checkpoint feature of Xen to take incremental checkpoints.
<= br>In the xc_domain_save and xc_domain_restore code I observed that Xen use= s the xc_map_foreign_batch() function to map the p2m mapping table into the= Dom0 directly from a p2m_frame_list, which I suppose is a list of frames c= ontaining machine addresses of the various p2m lists for that particular Do= main.

Since this function returns only one address, I was confused as to whic= h p2m table's mapped address is it returning among the list of p2m tabl= es pointed to by the p2m_frame_list or is it that there is only a single la= rge p2m mapping table and all that the xc_map_foreign_batch() does is map t= his machine address contained in the p2m_frame_list along with the entire r= ange of that p2m table ?

Someone kindly enlighten.

Thanks,

Aditya Krishnan
--00163646b992202ee904698097f9-- --===============0962991017== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============0962991017==--