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

Re: [Xen-devel] passing hypercall parameters by pointer


On 19 Aug 2005, at 03:00, Jimi Xenidis wrote:

I believe a negotiated managment area that the application serializes
all arguements into to be a far better solution, the area can be of
arbitrary size and it the added complexity to the application is
trivial.

Am I missing something?

This is the correct answer imo. get_pfn_list() needs to die anyway: there are better ways to get the list of mfns belonging to a guest (you can get the list back from increase_reservation, or you can map the guest's pfn->mfn map).

The current mlock() scheme in libxc is screwed anyway -- we mlock/munlock regions that may overlap at page granularity. Fixing this would lead naturally to a preallocation scheme.

 -- Keir


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

<Prev in Thread] Current Thread [Next in Thread>