PoD memory 7/9: Xen interface
authorKeir Fraser <keir.fraser@citrix.com>
Mon, 5 Jan 2009 10:45:48 +0000 (10:45 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Mon, 5 Jan 2009 10:45:48 +0000 (10:45 +0000)
commit36e30441326aa951ced7b1890d654d715db3bd3a
treeb8f2a81a219dbdb018c87a74dfd6300d79b99fe5
parentf25ed554f0855e70319f0db02e157c51fb22546d
PoD memory 7/9: Xen interface

Implement Xen interface to PoD functionality.
* Increase the number of MEMOP bits from 4 to 6 (increasing the number
of available memory operations from 16 to 64).
* Introduce XENMEMF_populate_on_demand, which will cause
populate_physmap() to fill a range with PoD entries rather than
backing it with ram
* Introduce XENMEM_[sg]et_pod_target operation to the memory
hypercall, to get and set PoD cache size.  set_pod_target() should be
called during domain creation, as well as after modifying the memory
target of any domain which may have outstanding PoD entries.

Signed-off-by: George Dunlap <george.dunlap@eu.citrix.com>
xen/arch/x86/mm.c
xen/arch/x86/mm/p2m.c
xen/arch/x86/x86_64/compat/mm.c
xen/common/memory.c
xen/include/asm-x86/p2m.h
xen/include/public/memory.h
xen/include/xen/hypercall.h
xen/include/xen/mm.h
xen/include/xlat.lst