debuggers.hg

changeset 21034:e9146e92df62

Revert C/S 20966 "Disable memory mapping warnings when stub domain is used."

It was ealier resolved by C/S 20720 and C/S 20751.
This fix was backported to xen-3.4-testing.

Signed-off-by: Daniel Kiper <dkiper@net-space.pl>
author Keir Fraser <keir.fraser@citrix.com>
date Mon Mar 01 12:00:11 2010 +0000 (2010-03-01)
parents c4301c2c727d
children 92f2ee87e501
files xen/arch/x86/mm/shadow/common.c
line diff
     1.1 --- a/xen/arch/x86/mm/shadow/common.c	Fri Feb 26 17:09:50 2010 +0000
     1.2 +++ b/xen/arch/x86/mm/shadow/common.c	Mon Mar 01 12:00:11 2010 +0000
     1.3 @@ -2607,11 +2607,9 @@ int sh_remove_all_mappings(struct vcpu *
     1.4      {
     1.5          /* Don't complain if we're in HVM and there are some extra mappings: 
     1.6           * The qemu helper process has an untyped mapping of this dom's RAM 
     1.7 -         * and the HVM restore program takes another. Additionally, if stub
     1.8 -         * domain is active then it also has an untyped mapping of original
     1.9 -         * domain's RAM. */
    1.10 +         * and the HVM restore program takes another. */
    1.11          if ( !(shadow_mode_external(v->domain)
    1.12 -               && (page->count_info & PGC_count_mask) <= 4
    1.13 +               && (page->count_info & PGC_count_mask) <= 3
    1.14                 && (page->u.inuse.type_info & PGT_count_mask) == 0) )
    1.15          {
    1.16              SHADOW_ERROR("can't find all mappings of mfn %lx: "