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] about grant table

On Wed, 2008-03-05 at 00:07 +0800, 余上 wrote:
> >  1. domU writes a shared entry at index <gref>
> So I guess there needs a transfer between guest OS and Xen ?

not sure what you mean. grant transfer? certainly not. control transfer?
also not.

grant tables are just a bunch of pages allocated to the domain during
creation. mapped r/w both by the hypervisor and the guest. the guest
writes the bigger part of its entries. shared flags are altered
atomically via compare-and-swap instructions from both sides. 

the active entries are because xen needs to keep the fields private once
they are in use.

regards,
daniel


-- 
Daniel Stodden
LRR     -      Lehrstuhl für Rechnertechnik und Rechnerorganisation
Institut für Informatik der TU München             D-85748 Garching
http://www.lrr.in.tum.de/~stodden         mailto:stodden@xxxxxxxxxx
PGP Fingerprint: F5A4 1575 4C56 E26A 0B33  3D80 457E 82AE B0D8 735B



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