[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] What does xc_map_foreign_batch() do?


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • From: ADITYA KRISHNAN <akrishn7@xxxxxxxx>
  • Date: Sat, 9 May 2009 16:28:39 -0400
  • Delivery-date: Sat, 09 May 2009 13:29:12 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type; b=cJp64fDLwOy8eln1sCTfa9aRWEhD1qyYZsn/nfC8oOtUAFN0hf8vfuAhy9b7ahYre8 8ZGSdPwlnPlCWMgX7rIAh+dLpgkHlLLrU8ILPbR1g21t7hjeu6V5JFMugIJTiQo5TJMJ PTg4pqFOnZ02iFjgTXEnjJBekKmwmfEEeQO4Y=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

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
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.