ia64/xen-unstable

changeset 12436:bcebb04c65c8

[XEN] Don't pass spurious reserved-bit faults to the guest
since x86_64 linux can't handle them.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
author Tim Deegan <Tim.Deegan@xensource.com>
date Tue Nov 14 11:52:38 2006 +0000 (2006-11-14)
parents d6f54576ac22
children 9d88f224b7f1
files xen/arch/x86/mm/shadow/multi.c
line diff
     1.1 --- a/xen/arch/x86/mm/shadow/multi.c	Tue Nov 14 11:47:26 2006 +0000
     1.2 +++ b/xen/arch/x86/mm/shadow/multi.c	Tue Nov 14 11:52:38 2006 +0000
     1.3 @@ -2623,6 +2623,10 @@ static int sh_page_fault(struct vcpu *v,
     1.4               * Fall through to the normal fault handing logic */
     1.5              perfc_incrc(shadow_fault_fast_fail);
     1.6              SHADOW_PRINTK("fast path false alarm!\n");
     1.7 +            /* Don't pass the reserved-bit bit: if we look at the fault 
     1.8 +             * below and decide to pass it to the guest, the reserved-bit
     1.9 +             * bit won't make sense there. */
    1.10 +            regs->error_code &= ~PFEC_reserved_bit;
    1.11          }
    1.12      }
    1.13  #endif /* SHOPT_FAST_FAULT_PATH */