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] Fwd: Xen - Page transfer



---------- Forwarded message ----------
From: Neo <aravind.tron...@xxxxxxxxx>
Date: Jun 18, 2:33 pm
Subject: Xen - Page transfer
To: vmkernelnewbies


Hi,

I am trying to implement a page transfer mechanism in Xen.
I am using grant tables to do this.

But I am confused as to who has to acquire the grant reference whether
the module who is transferring the page(Dom 0) or the module who is
requesting the page (Dom x).

Is it sufficient to do  grant_table_op(gnttab_transfer_page, &op, n)
Or
should I also do gnttab_grant_foreign_transfer (domid, pfn)  ???

Once i do transfer from the Dom 0 should I explicitly map it in Dom x?
I also know that Dom x has to advertise his interest in recieving this
page, but should Dom x map it ???

can any one point me to a sample code snippet of finding out the
sequence of calls ??

I just need some help here.....

Thanks in advance
Aravind

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] Fwd: Xen - Page transfer, Neo <=