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] Difference between xc_map_foreign_range() and xc_map_foreign

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] Difference between xc_map_foreign_range() and xc_map_foreign_batch()
From: ADITYA KRISHNAN <akrishn7@xxxxxxxx>
Date: Mon, 2 Feb 2009 12:23:57 -0500
Delivery-date: Mon, 02 Feb 2009 09:24:23 -0800
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=rAwtNKME5IlbthsZgfxQ6lcEnH++PMylwdgM2FdjKLc=; b=epOsvXCFJ4la3ZrhmaiI0pU7tMs8zpVuofqNxdAHpVKLnQI6cCk3hGUDMN/VqtsZmg AO5KgYAMyXXE9FyvE/UGFZmayRrxKNwbSbU5lrdtv7bPryLTFBbgS4L55QQuz2dWRJP7 jrk+97JYLYqYZz9ncDiQBaBl7p1OLkq+BwHDM=
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=b5HhMVVej1g6aF9QHhc+9+W5sTeTpZy/7Btlbw5Goj1JPZnh3PocuJZCJrDyLKNyMu 0Dhgw2XzyW4wO/OAFd/kIBx7YjoHRNGBN6jIc6/Kjwf6tfOUL25e8HSeEUL5yV4ClL0U 7lL5U+fcPa73gOzDOixtnxjiUQR3/DMOrYnSg=
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 All,

Could someone please enlighten me on the difference between xc_map_foreign_range() and xc_map_foreign_batch() used in xc_save/restore.
 I know both of them function similar to mmap. I guess the xc_map_foreign_range directly maps the range of addresses from DomU to Dom0. 

However I am not sure what xc_map_foreign_batch does. It always seems to be used for mapping page frame lists.
 Can someone please tell me what is does and why it is used.

Thank you.

Aditya 

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] Difference between xc_map_foreign_range() and xc_map_foreign_batch(), ADITYA KRISHNAN <=