WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

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

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] What does xc_map_foreign_batch() do?
From: ADITYA KRISHNAN <akrishn7@xxxxxxxx>
Date: Sat, 9 May 2009 16:28:39 -0400
Delivery-date: Sat, 09 May 2009 13:29:12 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=r7PHCpSWAxQGwtAs1/fez9te86RIQzga438NbYQ9h5g=; b=MGl/eSQ0wD5ZaOYKwR3n1wZuUNXD7ZUC7+j03UNpg3EPVwq35tGd0BTJ/ArN4FbmK2 V3EfayXrh0jSuBXXOFQKmnGDbLRlaCdHqKn4uvGtZFULw8ReN81ZAGckKixAYnCD8T7a yLGJEbR3vLeLL3qLFqjDJVUpXM/vk/1v5rbw8=
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=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] What does xc_map_foreign_batch() do?, ADITYA KRISHNAN <=