|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] Full translate patch, with grant-table blkif support
Here's a patch that will allow domains to run in full translate shadow
mode, using a block driver with grant tables. (Network drivers in
translate mode still not implemented.)
More specifically, this patch:
* Allows a domU to be built with CONFIG_XEN_SHADOW_TRANSLATE_MODE. This
basically disables access to the m2p table, takes out some of the
mm_[un]pin optimizations. Currently, it also adds back writing to L2
pagetables.
* Adds a "linuxtranslate" builder, which will build a linux domain in
translate mode.
* Makes some mods to the way the hypervisor handles shadow translate
mode. It also adds a new grant table op, "get_shared_mfn", which will
return the mfn of the first page of the grant table shared area within the
hypervisor.
* All references outside a hypervisor to a translated domain's pages must
be in gpfns, not mfns. The hypervisor will translate from pfn to mfn for
the mapping. To make this easier, certain information is translated
from mfn to gpfn before the hypervisor gives it to user space. (For
example, the shared_info_pfn of the domain_info struct is changed to a
pfn, so that xcs and friends work without modification.) Currently, other
information (such as cr3) is not translated; so if you want to walk a
translated domain's page tables, you will have to translate the cr3 from
mfn to pfn before mapping it.
Let us know what you guys think.
Peace,
-George
+-------------------+----------------------------------------
| dunlapg@xxxxxxxxx | http://www-personal.umich.edu/~dunlapg
+-------------------+----------------------------------------
| Who could move a mountain, who could love their enemy?
| Who could rejoice in pain, and turn the other cheek?
| - Rich Mullins, "Surely God is With Us"
+------------------------------------------------------------
| Outlaw Junk Email! Support HR 1748 (www.cauce.org)
fulltranslate.patch
Description: Text document
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-devel] Full translate patch, with grant-table blkif support,
George Washington Dunlap III <=
|
|
|
|
|