aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/asm-x86/shadow.h
diff options
context:
space:
mode:
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>2006-11-01 18:37:23 +0000
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>2006-11-01 18:37:23 +0000
commit8082f8f7840a679655053ecfd95f64c64bb5c661 (patch)
tree317cac4c0985f30034f4071af997faaef3fe9afa /xen/include/asm-x86/shadow.h
parent8bdc427fa2dc6e53881d80bd57638f56f8ac39ad (diff)
downloadxen-8082f8f7840a679655053ecfd95f64c64bb5c661.tar.gz
xen-8082f8f7840a679655053ecfd95f64c64bb5c661.tar.bz2
xen-8082f8f7840a679655053ecfd95f64c64bb5c661.zip
[HVM] Move shadow initialisation into domain-creation hypercall.
Allocate HVM guest memory in the libxc builder function rather than in xend. Clean up fall out from these changes. Todo: Fix ia64. Move PV builder to same model (it should allocate the memory rather than xend doing so -- then it can avoid using xc_get_pfn_list()). Signed-off-by: Keir Fraser <keir@xensource.com>
Diffstat (limited to 'xen/include/asm-x86/shadow.h')
-rw-r--r--xen/include/asm-x86/shadow.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/xen/include/asm-x86/shadow.h b/xen/include/asm-x86/shadow.h
index 1cf2e5041d..292ed43916 100644
--- a/xen/include/asm-x86/shadow.h
+++ b/xen/include/asm-x86/shadow.h
@@ -313,6 +313,9 @@ static inline int shadow_guest_paging_levels(struct vcpu *v)
/**************************************************************************/
/* Entry points into the shadow code */
+/* Enable arbitrary shadow mode. */
+int shadow_enable(struct domain *d, u32 mode);
+
/* Turning on shadow test mode */
int shadow_test_enable(struct domain *d);