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-ia64-devel

Re: [Xen-ia64-devel] Re: copying data to guest

On Sat, Mar 03, 2007 at 04:35:16PM +0900, Isaku Yamahata wrote:
> On Fri, Mar 02, 2007 at 06:30:09PM +0100, tgingold@xxxxxxx wrote:
> 
> > > Or am I missing something here?
> > Although this should work, it is currently not reliable.  I think this issue
> > must be fully discussed.
> 
> I checked the sal specificatin very roughly, I counld found only
> in 8.1.9 
> "the oprating system runtime execution environment must provide
> the proper mapping for the parameter buffers"
> Hmm, I'm not sure what "provide" means.
IMHO it means data miss must be handled.

> Just some random thoughts/ideas for discussion.
[...]
> - enhance fake SAL code in geust domain pseudo physical address space.
>   Currently only break code is embedded.
>   Make it smarter to handle virtual addresses.
>   - convert virtual address into pseudo physical address
>     and pass pseudo physical address to Xen.
>   - use a predefined reserved area for SAL.
>     (This requires domain builder change)
>     It copies the data into the area, and call hypervisor.
>     After the hypercall, it copies back data into virtual address.
>     The tlb miss can be handled by OS.
IMHO enhancing the SAL stubs is the right way.  We should convert virtual
address and use xencomm.

Tristan.

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