ia64/xen-unstable

changeset 7630:a969d918674e

Remove shadow audit debugging. Too noisy for
log-dirty mode.
Signed-off-by: Keir Fraser <keir@xensource.com>
author kaf24@firebug.cl.cam.ac.uk
date Fri Nov 04 16:01:49 2005 +0100 (2005-11-04)
parents 6a2d93c2b32d
children a45408260abb
files xen/arch/x86/shadow32.c xen/arch/x86/shadow_public.c
line diff
     1.1 --- a/xen/arch/x86/shadow32.c	Fri Nov 04 11:46:10 2005 +0100
     1.2 +++ b/xen/arch/x86/shadow32.c	Fri Nov 04 16:01:49 2005 +0100
     1.3 @@ -987,18 +987,10 @@ int __shadow_mode_enable(struct domain *
     1.4          }
     1.5      }
     1.6  
     1.7 -    printk("audit1\n");
     1.8 -    _audit_domain(d, AUDIT_SHADOW_ALREADY_LOCKED | AUDIT_ERRORS_OK);
     1.9 -    printk("audit1 done\n");
    1.10 -
    1.11      // Get rid of any shadow pages from any previous shadow mode.
    1.12      //
    1.13      free_shadow_pages(d);
    1.14  
    1.15 -    printk("audit2\n");
    1.16 -    _audit_domain(d, AUDIT_SHADOW_ALREADY_LOCKED | AUDIT_ERRORS_OK);
    1.17 -    printk("audit2 done\n");
    1.18 -
    1.19      /*
    1.20       * Tear down it's counts by disassembling its page-table-based ref counts.
    1.21       * Also remove CR3's gcount/tcount.
    1.22 @@ -1044,10 +1036,6 @@ int __shadow_mode_enable(struct domain *
    1.23  
    1.24      audit_adjust_pgtables(d, 1, 1);
    1.25  
    1.26 -    printk("audit3\n");
    1.27 -    _audit_domain(d, AUDIT_SHADOW_ALREADY_LOCKED | AUDIT_ERRORS_OK);
    1.28 -    printk("audit3 done\n");
    1.29 -
    1.30      return 0;
    1.31  
    1.32   nomem:
     2.1 --- a/xen/arch/x86/shadow_public.c	Fri Nov 04 11:46:10 2005 +0100
     2.2 +++ b/xen/arch/x86/shadow_public.c	Fri Nov 04 16:01:49 2005 +0100
     2.3 @@ -1042,18 +1042,10 @@ int __shadow_mode_enable(struct domain *
     2.4          }
     2.5      }
     2.6  
     2.7 -    printk("audit1\n");
     2.8 -    _audit_domain(d, AUDIT_SHADOW_ALREADY_LOCKED | AUDIT_ERRORS_OK);
     2.9 -    printk("audit1 done\n");
    2.10 -
    2.11      // Get rid of any shadow pages from any previous shadow mode.
    2.12      //
    2.13      free_shadow_pages(d);
    2.14  
    2.15 -    printk("audit2\n");
    2.16 -    _audit_domain(d, AUDIT_SHADOW_ALREADY_LOCKED | AUDIT_ERRORS_OK);
    2.17 -    printk("audit2 done\n");
    2.18 -
    2.19      /*
    2.20       * Tear down it's counts by disassembling its page-table-based ref counts.
    2.21       * Also remove CR3's gcount/tcount.
    2.22 @@ -1099,10 +1091,6 @@ int __shadow_mode_enable(struct domain *
    2.23  
    2.24      audit_adjust_pgtables(d, 1, 1);
    2.25  
    2.26 -    printk("audit3\n");
    2.27 -    _audit_domain(d, AUDIT_SHADOW_ALREADY_LOCKED | AUDIT_ERRORS_OK);
    2.28 -    printk("audit3 done\n");
    2.29 -
    2.30      return 0;
    2.31  
    2.32   nomem: