Skip to contentSkip to conversation

Difference between xc_map_foreign_range() and xc_map_foreign_batch()

DISCUSSION ADITYA KRISHNAN 1 participant 1 message Feb 2, 2009

lore
Share & tools
lore
#0 lore raw

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
[email protected]
http://lists.xensource.com/xen-devel