WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] Remove debug hooks that shouldn't be enabled by default.

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] Remove debug hooks that shouldn't be enabled by default.
From: BitKeeper Bot <riel@xxxxxxxxxxx>
Date: Tue, 12 Apr 2005 15:40:41 +0000
Delivery-date: Wed, 13 Apr 2005 23:03:28 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: Xen Development List <xen-devel@xxxxxxxxxxxxxxxxxxx>
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
ChangeSet 1.1291.1.1, 2005/04/12 16:40:41+01:00, mafetter@xxxxxxxxxxxxxxxx

        Remove debug hooks that shouldn't be enabled by default.



 xc_linux_build.c |   15 ---------------
 1 files changed, 15 deletions(-)


diff -Nru a/tools/libxc/xc_linux_build.c b/tools/libxc/xc_linux_build.c
--- a/tools/libxc/xc_linux_build.c      2005-04-13 19:03:40 -04:00
+++ b/tools/libxc/xc_linux_build.c      2005-04-13 19:03:40 -04:00
@@ -210,11 +210,9 @@
         }
 
         *vl1e = (page_array[count] << PAGE_SHIFT) | L1_PROT;
-#if !(1 || defined(GROSS_HACK_TO_TEST_SHADOW_MODE_CLIENTS))
         if ( (count >= ((vpt_start-dsi.v_start)>>PAGE_SHIFT)) && 
              (count <  ((vpt_end  -dsi.v_start)>>PAGE_SHIFT)) )
             *vl1e &= ~_PAGE_RW;
-#endif
         vl1e++;
     }
     munmap(vl1tab, PAGE_SIZE);
@@ -245,25 +243,12 @@
     }
     munmap(physmap, PAGE_SIZE);
     
-#if 1 || defined(GROSS_HACK_TO_TEST_SHADOW_MODE_CLIENTS)
-    {
-        int ret;
-        ret = xc_shadow_control(xc_handle, dom,
-                                DOM0_SHADOW_CONTROL_OP_ENABLE_TEST,
-                                NULL, 0, NULL);
-        if ( !ret )
-            ERROR("enabling shadow test mode failed\n");
-    }
-#endif
-
     /*
      * Pin down l2tab addr as page dir page - causes hypervisor to provide
      * correct protection for the page
      */ 
-#if !(1 || defined(GROSS_HACK_TO_TEST_SHADOW_MODE_CLIENTS))
     if ( pin_table(xc_handle, MMUEXT_PIN_L2_TABLE, l2tab>>PAGE_SHIFT, dom) )
         goto error_out;
-#endif
 
     start_info = xc_map_foreign_range(
         xc_handle, dom, PAGE_SIZE, PROT_READ|PROT_WRITE,

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] Remove debug hooks that shouldn't be enabled by default., BitKeeper Bot <=