ia64/xen-unstable

changeset 17423:5ffd167d7772

x86: Suppress scary console message from sh_remove_shadows()
except in cases where the guest's behaviour is unrecoverable.

Signed-off-by: Tim Deegan <Tim.Deegan@citrix.com>
author Keir Fraser <keir.fraser@citrix.com>
date Wed Apr 09 16:04:10 2008 +0100 (2008-04-09)
parents 40c0dda6eae6
children 64f81cd158d4
files xen/arch/x86/mm/shadow/common.c
line diff
     1.1 --- a/xen/arch/x86/mm/shadow/common.c	Wed Apr 09 16:03:40 2008 +0100
     1.2 +++ b/xen/arch/x86/mm/shadow/common.c	Wed Apr 09 16:04:10 2008 +0100
     1.3 @@ -2172,13 +2172,12 @@ void sh_remove_shadows(struct vcpu *v, m
     1.4  #undef DO_UNSHADOW
     1.5  
     1.6      /* If that didn't catch the shadows, something is wrong */
     1.7 -    if ( !fast && (pg->count_info & PGC_page_table) )
     1.8 +    if ( !fast && all && (pg->count_info & PGC_page_table) )
     1.9      {
    1.10          SHADOW_ERROR("can't find all shadows of mfn %05lx "
    1.11                       "(shadow_flags=%08lx)\n",
    1.12                        mfn_x(gmfn), pg->shadow_flags);
    1.13 -        if ( all ) 
    1.14 -            domain_crash(v->domain);
    1.15 +        domain_crash(v->domain);
    1.16      }
    1.17  
    1.18      /* Need to flush TLBs now, so that linear maps are safe next time we