Grant Tables between dom0 and domU?
Hi All,
The interface manual says - grant tables provide a generic mechanism sharing between domains.
Subsequent lines suggest mechanism sharing between only unpriviliged domains.
Can grant tables be used for this capability based shared memory communication between dom0 and domUs?
Thanks
~psr
Signature · 2 lines
pradeep singh rautela "proud to be a TUXedo, BSDemons you are a little late" - me
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Quoted 5 lines
Subsequent lines suggest mechanism sharing between only unpriviliged domains.
Can grant tables be used for this capability based shared memory communication between dom0 and domUs?
Yes, using grant tables is an unprivileged operation so any domain can use it (well, HVM is limited in this respect) - dom0 and domU can share memory if appropriate.
This is used by the split Io drivers, etc.
Cheers,
Mark
Signature · 4 lines
Dave: Just a question. What use is a unicyle with no seat? And no pedals! Mark: To answer a question with a question: What use is a skateboard? Dave: Skateboards have wheels. Mark: My wheel has a wheel!
Quoted 11 lines · Mark Williamson
Quoted 6 lines
Subsequent lines suggest mechanism sharing between only unpriviliged domains.
Can grant tables be used for this capability based shared memory communication between dom0 and domUs?
Yes, using grant tables is an unprivileged operation so any domain can use it
(well, HVM is limited in this respect) - dom0 and domU can share memory if appropriate.
Thank you, that cleared my doubt.
~psr
This is used by the split Io drivers, etc.
Quoted 10 lines
Cheers,
Mark--
Dave: Just a question. What use is a unicyle with no seat? And no pedals!
Mark: To answer a question with a question: What use is a skateboard?
Dave: Skateboards have wheels.
Mark: My wheel has a wheel!
Signature · 1 line
pradeep singh rautela
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
hi
I try to read the granttable code of xen,I am confused about some fields
in the struct grant_table,such as struct grant_entry **shared; struct active_grant_entry **active; struct grant_mapping **maptrack;
what are the functions for the three structures ?
in the grant_table_create() function,each entry of three structures is allocated a page frame,is it right? if it is,when we try to use a grant page ,three pages are needed to be allocated for matadata,or how does it work?
I am confused about it
could you help me
Thanks in advance
Quoted 15 lines · Mark Williamson
Quoted 6 lines
Subsequent lines suggest mechanism sharing between only unpriviliged domains.
Can grant tables be used for this capability based shared memory communication between dom0 and domUs?
Yes, using grant tables is an unprivileged operation so any domain can use it (well, HVM is limited in this respect) - dom0 and domU can share memory if appropriate.
This is used by the split Io drivers, etc.
Cheers,
Mark