aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>2005-09-12 17:48:07 +0000
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>2005-09-12 17:48:07 +0000
commitb29fc06bed8077e6f9ab84c8e3f5fdbc06fb4056 (patch)
tree2d712e87de79cfc06cad84a9b9b4760093aeaeff /tools
parent999ef6d9c5db00168da5b1466025c212a81287b9 (diff)
downloadxen-b29fc06bed8077e6f9ab84c8e3f5fdbc06fb4056.tar.gz
xen-b29fc06bed8077e6f9ab84c8e3f5fdbc06fb4056.tar.bz2
xen-b29fc06bed8077e6f9ab84c8e3f5fdbc06fb4056.zip
This patch remove the L2 pin for 1:1 page table on control panel.
L2 pin for 1:1 page table on control panel cause entries for top 64M address changed by alloc_l2_table(). Signed-off-by: Yunhong Jiang <yunhong.jiang@intel.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/libxc/xc_vmx_build.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/tools/libxc/xc_vmx_build.c b/tools/libxc/xc_vmx_build.c
index db2b229768..a2b21b735a 100644
--- a/tools/libxc/xc_vmx_build.c
+++ b/tools/libxc/xc_vmx_build.c
@@ -578,15 +578,6 @@ static int setup_guest(int xc_handle,
sp->sp_global.eport = control_evtchn;
munmap(sp, PAGE_SIZE);
- /*
- * Pin down l2tab addr as page dir page - causes hypervisor to provide
- * correct protection for the page
- */
-#ifdef __i386__
- if ( pin_table(xc_handle, MMUEXT_PIN_L2_TABLE, l2tab>>PAGE_SHIFT, dom) )
- goto error_out;
-#endif
-
/* Send the page update requests down to the hypervisor. */
if ( xc_finish_mmu_updates(xc_handle, mmu) )
goto error_out;