All of lore.kernel.org
 help / color / mirror / Atom feed
* Grant tables
@ 2008-04-04 15:26 Carlo Bertoldi
  2008-04-04 15:31 ` Samuel Thibault
  0 siblings, 1 reply; 10+ messages in thread
From: Carlo Bertoldi @ 2008-04-04 15:26 UTC (permalink / raw)
  To: xen-devel

Hi,
  I need to use the grant table mechanism, but I can't find any example 
regarding how to do it. Could you please provide some examples?
Thanks
  Carlo
-- 
È molto più bello sapere qualcosa di tutto, che sapere tutto di una cosa.

Blaise Pascal

^ permalink raw reply	[flat|nested] 10+ messages in thread
* Grant Tables
@ 2007-06-26 11:29 Koripella Srinivas
  0 siblings, 0 replies; 10+ messages in thread
From: Koripella Srinivas @ 2007-06-26 11:29 UTC (permalink / raw)
  To: xen-devel


[-- Attachment #1.1: Type: text/plain, Size: 903 bytes --]

Hello,

I am setting up shared memory using grant tables between two hvm guests.
In the process of doing so, the function create_grant_host_mapping( uint64_t addr, unsigned long frame, unsigned int flags) in mm.c is getting called to create a mapping at the specified virtual addr (as specified by parameter addr in the call) for the specified machine frame address (specified by parameter frame).

But when the function returns the guest physical address gets changed to point to the parameter value frame  and the machine address of the virtual address points to 0xffffffff.
Is it because this function-create_grant_host_mapping  does not work for hvm guests and i have to rewrite this function to use shadow page tables or is there some other error??

What could be the problem??


Thanks





      Bollywood, fun, friendship, sports and more... you name it, we have it at http://in.groups.yahoo.com

[-- Attachment #1.2: Type: text/html, Size: 1977 bytes --]

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2008-04-07 16:18 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-04 15:26 Grant tables Carlo Bertoldi
2008-04-04 15:31 ` Samuel Thibault
2008-04-04 16:56   ` Carlo Bertoldi
2008-04-04 21:42     ` Samuel Thibault
2008-04-05  8:10       ` Carlo Bertoldi
2008-04-05 21:14         ` Mark Williamson
2008-04-07 16:07           ` Carlo Bertoldi
2008-04-07 16:18             ` Daniel Stodden
     [not found]       ` <47F7339B.90207@tiscali.it>
2008-04-05  8:55         ` Samuel Thibault
  -- strict thread matches above, loose matches on Subject: below --
2007-06-26 11:29 Grant Tables Koripella Srinivas

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.