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

[Xen-devel] Difference between xc_map_foreign_range() and xc_map_foreign_batch()


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • From: ADITYA KRISHNAN <akrishn7@xxxxxxxx>
  • Date: Mon, 2 Feb 2009 12:23:57 -0500
  • Delivery-date: Mon, 02 Feb 2009 09:24:23 -0800
  • 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=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

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

 


Rackspace

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