ia64/xen-unstable

changeset 18318:b75f0b3e2a7e

x86, shadow, oos: Remove overzealous warning and simplify code.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
author Keir Fraser <keir.fraser@citrix.com>
date Wed Aug 13 11:09:46 2008 +0100 (2008-08-13)
parents 08ff587400ba
children 641e10533c89
files xen/arch/x86/mm/shadow/multi.c
line diff
     1.1 --- a/xen/arch/x86/mm/shadow/multi.c	Wed Aug 13 09:57:42 2008 +0100
     1.2 +++ b/xen/arch/x86/mm/shadow/multi.c	Wed Aug 13 11:09:46 2008 +0100
     1.3 @@ -3181,14 +3181,9 @@ static int sh_page_fault(struct vcpu *v,
     1.4      rc = guest_walk_tables(v, va, &gw, regs->error_code);
     1.5  
     1.6  #if (SHADOW_OPTIMIZATIONS & SHOPT_OUT_OF_SYNC)
     1.7 +    regs->error_code &= ~PFEC_page_present;
     1.8      if ( !(rc & _PAGE_PRESENT) )
     1.9          regs->error_code |= PFEC_page_present;
    1.10 -    else if ( regs->error_code & PFEC_page_present )
    1.11 -    {
    1.12 -            SHADOW_ERROR("OOS paranoia: Something is wrong in guest TLB"
    1.13 -                         " flushing. Have fun debugging it.\n");
    1.14 -            regs->error_code &= ~PFEC_page_present;
    1.15 -    }
    1.16  #endif
    1.17  
    1.18      if ( rc != 0 )