[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.